Jethro commented on a Page, Chance game  -  Feb 10, 2011

Dusk, this version will do what you wish for:

on @*:text:$($iif(!chance = $strip($1),$1)):#:{
  if !$(,$+(%,f,$site)) { 
    set -z $+(%,f,$site) 300 
    .msg # So you want to take a chance on something? Let's do it.
    var %chance = $r(1,9), %msg = .msg # Congrats, you won
    goto %chance
    :1 | %msg a voice | mode # +v $nick | halt
    :2 | %msg a kick | kick # $nick Better luck next time. | halt
    :3 | %msg a halfop | mode # +h $nick | halt
    :4 | %msg a ban | mode # +b $wildsite | halt
    :5 | %msg a ball | .describe # gives $nick a red ball. | halt
    :6 | %msg a rabid dog! | .describe # gives $nick a rabid dog that mauls them to death. | kick $chan $nick You died. | halt
    :7 | %msg an Xbox 360! | .describe # gives $nick an Xbox360 with Call of Duty: Modern Warfare 2! | halt
    :8 | %msg a memo! | ms send $nick Congradulations. | halt
    :9 | %msg a website! | .msg # $nick http://wolverines.ning.com/ | halt
  }
  else { notice $nick you need to wait 5 minutes before using the command: $1 }
}
 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.