All pastes #802514 Raw Edit

Untitled

public text v1 · immutable
#802514 ·published 2007-11-30 10:43 UTC
rendered paste body
on $*:text:/^[!@.`]((s)?(triv)(ia)?|game|trivia(-on|-off)?/Si:#trivia: {
if ((@left($1-,2) == *s || $right($1-,3) == off) && %trivia == on) { 
set %trivia off
msg $chan Trivia halted by $nick $+ .
}
elseif (%trivia == off) { 
set %trivia on
msg $chan Trivia started by $nick $+ .
}
else { 
notice $nick You can't do this!
}
}