All pastes #963325 Raw Edit

Untitled

public text v1 · immutable
#963325 ·published 2008-03-30 13:23 UTC
rendered paste body
on *:text:*:#vGames.gathers:{ if (%addme) && (vG|Gath* iswm $nick) && (*gather*number*has*been* iswm $1-) set %gtron 1 }
on *:notice:*:#vGames.gathers:{ if (%addme) && (vG|Gath* iswm $nick) && (*sub*is*needed* iswm $1-) set %gtrnns 1 }
on *:mode:#vGames.gathers:{
  if (%addme) && (vG|Gath* iswm $nick) && (-m+N iswm $1-) {
    if (%gtron) { msg # !add | timer -m 1 600 msg # !add | timer -m 1 1200 msg # !add | unset %addme , %gtron | timer -m 1 1500 echo -a 12You have joined to the gather at #vGames.Gathers. } 
    if (%gtrnns) { msg # !sub | timer -m 1 600 msg # !sub | unset %addme , %gtrnns | timer -m 1 900 echo -a 12You have joined the gather at #vGames.Gathers as sub. }
  }
}
menu channel,query { 
  -
  .Set Auto Add/Sub $iif(%addme,OFF,ON) at #vGames.Gathers:{ if (%addme) { unset %addme | echo -a 12Auto Add/Sub at #vGames.Gathers is now 4OFF12. | halt } | set %addme 1 | echo -a 12Auto Add/Sub at #vGames.Gathers is now 3ON12. | halt }
  -
}