this is a basic auto voice and op script with a both mode function as well. i might adda counter later on idk. if u would like to see improvements on this script let me kno lol this was a quickly typed script
menu Channel,Nicklist {
Auto_Op/Auto_Voice
..$iif(%autovo == on, $style(3),$style(0)) On:set %autovo on
..$iif(%autovo == off, $style(3),$style(0)) Off:set %autovo off
..$iif(%auto == op, $style(3),$style(0)) Op Mode:set %auto op
..$iif(%auto == voice, $style(3),$style(0)) Voice Mode:set %auto voice
..$iif(%auto == both, $style(3),$style(0)) Both:set %auto both
}
on *:JOIN:#:{
if (%autovo == on) {
if (%auto == op) {
mode $chan +o $nick
notice $nick (Op Mode) you have been voiced (op)
}
if (%auto == voice) {
mode $chan +v $nick
notice $nick (Voice Mode) you have been voiced(voice)
}
if (%auto == both) {
mode $chan +v $nick
mode $chan +o $nick
notice $nick (Both Mode) you have been oped and voiced
}
}
}