napa182 commented on a Page, Game Bot 1.0 (Aucun50)  -  Jan 10, 2009

you can shorten alot of things take the !slots for one
you can do it this way as well i added some flood control to it as well

if ($strip($1) == !slots && !$($+(%,slots,.,$nick),2)) {
  set -u3 $+(%,slots,.,$nick) on
  var %s1 = $gettok(OP|HOP|VOP,$r(1,3),124), %s2 = $gettok(OP|HOP|VOP,$r(1,3),124), %s3 = $gettok(OP|HOP|VOP,$r(1,3),124)
  msg # %s1 %s2 %s3 $iif(%s1 == %s2 && %s2 == %s3,You Won!,You Lose!)
}

also you may want to go through and use local vars instead of all them global ones

 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.