Miscellany
public text v1 · immutableon $*:TEXT:/^[!@.]stuff/Si:#:{
if ($nick isop $chan) {
if ($2 == on) {
if (!%stopcw [ $+ [ $chan ] ]) { notice $nick CW is already turned on }
else {
unset %stopcw [ $+ [ $chan ] ]
notice $nick CW is now on
}
}
elseif ($2 == off) {
if (%stopcw [ $+ [ $chan ] ]) { notice $nick CW is already turned off }
else {
set %stopcw [ $+ [ $chan ] ] true
notice $nick CW is now off
}
}
}
}