It simply voices everyone who joins the channel 10secs after they have joined.
It's a great script bc it allows you to store hosts you dont want the bot to give voice. Pretty neat for controlling flooders in your channel.
stdragon also helped add in the delay of 10secs before the bot would voice anyone who just joined the channel.
hope this helps you..
here's the code...
#################################auto-voice#############################
# before loading this script make a user
# called "novoice" that contains the hostmasks
# that you don't wish to have +v in the channel
#
bind join - * oj_voice
proc oj_voice {nick uhost hand chan} {
if {$hand != "novoice"} { utimer 10 [list pushmode $chan +v $nick] }
return 0
}
putlog "loaded =AutoVoice= created by _andy updated by RoCkY, stdragon"