Thanks for the script, though there seems to be a problem with it. The bot voices users on public messages, but does not devoice them after defined period of idling.
read the script there are some settings you have to set for the idle time.
## - add voice on pubmsg for #channel :
## .chanset #channel +av.pubmsg
## remove with .chanset #channel -av.pubmsg ## - add devoice after idle time for #channel :
## .chanset #channel +av.devoice
## - optionally set devoice time in the bots partyline :
## .chanset #channel av.dtime 30 (in minutes)