on *:text:!av on:#:{ if ($nick isop $chan) || ($nick ishop $chan) { if (%voice. [ $+ [ $chan ] ] == $null) { set %voice. [ $+ [ $chan ] ] sup set %checker. [ $+ [ $chan ] ] on msg $chan 10AutoVoice for4 $chan 10is now: 4on10. $iif(!%voicetime. [ $+ [ $chan ] ],msg $chan 10Voice time is not set $+ $chr(44) 4!setvoicetime time10.) } else notice $nick 10it is already on. } else notice $nick 10you need to be op or hop to use this. }