on *:join:#:{ if (%voice. [ $+ [ $chan ] ] != $null) { if (%voicetime. [ $+ [ $chan ] ] != $null) { .timer 1 %voicetime. [ $+ [ $chan ] ] mode $chan +v $nick } else msg $chan the voice time is not set. --> !setvoicetime time to voice } } 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. } else notice $nick it is already on. } else notice $nick you need to be op or hop to use this. } on *:text:!av off:#:{ if ($nick isop $chan) || ($nick ishop $chan) { if (%voice. [ $+ [ $chan ] ] != $null) { unset %voice. [ $+ [ $chan ] ] set %checker. [ $+ [ $chan ] ] off msg $chan 10AutoVoice for4 $chan 10is now: 4off10. } else notice $nick it is already off. } else notice $nick you need to be op or hop to use this. } on *:text:!setvoicetime*:#:{ if ($nick isop $chan) || ($nick ishop $chan) { if ($2 isnum) { set %voicetime. [ $+ [ $chan ] ] $2 msg $chan the voice time is now set to: $2 seconds. } else notice $nick please put in a number. } else notice $nick you need hop or op to do this. }