Stuff
public text v1 · immutableon *:text:!voice on:#:{
if (($nick isop $chan) || ($nick ishop $chan)) {
set %autovoice. $+ $chan
/notice $chan Auto-voice has been enabled by $nick $+ .
}
}
on *:text:!voice off:#:{
if (($nick isop $chan) || ($nick ishop $chan)) {
unset %autovoice. $+ $chan
/notice $chan Auto-voice has been disabled by $nick $+ .
}
}
on *:JOIN:#: {
{ if (%autovoice. [ $+ [ $chan ] ] == on) {
mode $chan +v $nick } else {
{ if (%autovoice. [ $+ [ $chan ] ] == off) HALT }
}
}
}