T012m3n7oR commented on a Page, simple !kick game  -  Jan 24, 2008

it should be

on *:TEXT:?kick *:#: {
  if (%headsortails == $null) {
    set -u10 %headsortails 1
    if ($2 ison $chan) && ($me isop $chan) {
      set %heads_or_tails_nick $nick   
      set %kicknick $2
      msg $chan $2 heads or tails u have 10 seconds or u will be kicked
      set %num $rand(1,2)
      if (%num == 1) { set %num heads }
      if (%num == 2) { set %num tails }
      .timer 1 10 /kick $chan %kicknick u took to long it was %num
    }
  }
}
on *:TEXT:*:#: {
  if ($nick == %kicknick) {
    if ($1 == %num) {
      msg $chan gratz $nick u win
      .timers off
      unset %kicknick
      unset %heads_or_tails_nick
    }
    if ($1 != %num) {
      /kick $chan %kicknick u guessed wrong it was %num
      .timers off
      unset %kicknick
      unset %heads_or_tails_nick

    }
  }
}
 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.