TheImrac commented on a Page, Istok test  -  Jul 14, 2009

$r(1,4) = $rand(1,4), second using slackers code would not work if your reply vars are more than 1 word long. Third you don't use set for the random reply variable use /var as its local and you don't have to worry about a global variable. Lastly,

on *:text:*:*: {
  if ($istok(%text.1 %text.2,$1,32)) { msg $chan  $eval($+(%,reply.,$r(1,4)),2) }
}
 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.