Untitled
public text v1 · immutableon *:join:#: {
if ([ $chan ] $+ av == on) {
mode $chan +v $nick }
}
on *:text:!av *:#: {
if ($nick isop) || ($nick ishop) {
if ($2 != $null) {
set [ $chan ] $+ av $2
}
}
}
; On join, this check the var of the channel, if on it auto voices. It does not check if it is hop+
; Then the !av thing is !av on will turn it on, then !av followed by any word will turn it off