on *:join:#: { if (%av_on == true) { /mode $chan +v $nick } } on 1:text:!autovoice off:#: { if ($nick == lordrut) { %av_on = false /msg $chan $nick has turned off autovoice } } on 1:text:!autovoice on:#: { if ($nick == lordrut) { %av_on = true /msg $chan $nick has turned on autovoice } }