Jethro commented on a Page, My Bot  -  Sep 20, 2011

toclafane1, if you care about regex and $iif(), this code can be a lot shorter:

on $*:text:/^!d(\d+)|(flip)$/iS:#GameRoom:{
  .msg # $+($chr(3),04,$nick,$chr(3)) $iif($regml(1) != flip,rolls $+($chr(3),$&
    04,$r(1,$v1))),flips, $+($chr(3),04,$iif($r(1,2) == 1,Tail,Head),s,$chr(3),!)
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.