Public feed #723348

Miscellany

public text v1 · immutable
Raw Edit
·published 2007-10-02 18:51 UTC
rendered paste body
on *:TEXT:!coinon:#:{ { 
    if ($address($nick,2) == $address($me,2)) { 
      set %coin 1
    notice $nick The coin game is now ON. }
    else { notice $nick Only Evil_Light can do this. }
} }

on *:TEXT:!coinoff:#:{ { 
    if ($address($nick,2) == $address($me,2)) {
      set %coin 0
    notice $nick The coin game is now OFF. }
    else { notice $nick Only Evil_Light can do this. }
} }

on $*:TEXT:/^[!@.^]heads/Si:#:{ if (%coin == 1) {
    set %coin1 $1
    set %nick1 $nick
    if (%coin2 == !tails) {
      msg $chan %nick1 and %nick2 watch as the coin is flipped....
      var %flip = $rand(1,2)  
      if (%flip == 1) .timer 1 2 { ban -ku120 $chan %nick1 4Bad luck... You got banned for 2 minutes because you played teh coin game }
      if (%flip == 2) .timer 1 2 { ban -ku120 $chan %nick2 4Bad luck... You got banned for 2 minutes because you played teh coin game } 
    unset %coin1 %nick1 %coin2 %nick2 }
    else { msg $chan $nick wants a game of flip the coin! They cose %coin1 Who wants to play with them?! XD }
  }
else { notice $nick The coin game is OFF. Please pm Evil_light for them to turn it on } }

on $*:TEXT:/^[!@.^]tails/Si:#:{ if (%coin == 1) {
    set %coin2 $1
    set %nick2 $nick
    if (%coin1 == !heads) {
      msg $chan %nick1 and %nick2 watch as the coin is flipped....
      var %flip = $rand(1,2) 
      if (%flip == 1) .timer 1 2 { ban -ku120 $chan %nick1 4Bad luck... You got banned for 2 minutes because you played teh coin game }
      if (%flip == 2) .timer 1 2 { ban -ku120 $chan %nick2 4Bad luck... You got banned for 2 minutes because you played teh coin game }
    unset %coin1 %nick1 %coin2 %nick2 }
    else { msg $chan $nick wants a game of flip the coin! They cose %coin2 Who wants to play with them?! XD }
  }
else { notice $nick The coin game is OFF. Please pm an op for them to turn it on } }