Jethro commented on a Page, Magic 8-ball  -  Nov 07, 2009

You can also do it this way:

on *:TEXT:*:#: {
  tokenize 32 $strip($1-)
  if ($1 == !8ball) {
    msg $chan Original question: $2- And the answer is:
    var %x = No!|Yes!|Of course|Have you gone mad?! I think you have|$&
      How should I know? Its not like I'm magic|Heck no!|Maybe... yeah|Why should I tell you?|$&
      If I say yes will you be quiet?|Yes... that will be 30 dollars|How should I say this? Um... no
    msg $chan $gettok(%x,$rand(1,$numtok(%x,124)),124)
  }
}
 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.