All pastes #242905 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-11-07 21:09 UTC
rendered paste body
on *:TEXT:!poll *:#:{
  set %poll. $+ $chan $2-
  msg $chan 14A Poll Has Been Activated! Type Question is %poll. [ $+ [ $chan ] ] $+ , Hit !Yes To Vote Yes.. And !No To Vote No..
}
on *:TEXT:!yes:#:{
  inc %yes
  notice $nick Your Vote Has Been Counted As A3:14 YES.
}
on *:TEXT:!no:#:{
  inc %no
  notice $nick Your Vote Has Been Counted As A3:14 NO
}
on *:TEXT:!Results:#:{
  notice $nick The Results For %poll. [ $+ [ $chan ] ] Were :
  notice $nick Yes = $iif(%yes,%yes,0)  /  \  No = $iif(%no,%no,0)
}
on *:TEXT:!EndPoll:#:{
  msg $chan The Poll Has Been Ended. Poll Ended By $nick $+ .
  msg $chan The Total Scores For %poll. [ $+ [ $chan ] ] Were..
  msg $chan Yes : $iif(%yes,%yes,0)
  msg $chan No : $iif(%no,%no,0)
  unset %poll. $+ $chan
  unset %yes
  unset %no
}