Mine
public text v1 · immutableon *:text:!voice on:#:{
if (($nick isop $chan) || ($nick ishop $chan)) {
set %autovoice [ $+ [ $chan ] ] on | /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 (($me isop $chan) || ($me ishop $chan)) {
if (%autovoice [ $+ [ $chan ] ] == on) {
/mode $chan +v $nick
}
}
}