Jethro commented on a Page, Spin The Bottle  -  May 01, 2011

You don't need a %random variable. You should always consider adding a trigger flood control for a trigger based script. Also, consider adding timers for each output so they don't get spit out at once:

on *:TEXT:!spin:#: {
  if (!%t) {
    inc -u4 %t
    .timer 1 2 msg $chan $nick spins the bottle
    .timer 1 4 msg $chan the bottle is slowing down
    .timer 1 6 msg $chan it landed on $nick($chan,$rand(1,$nick($chan,0)))
  }
}
 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.