well any one could help make it delete the voiced user from the script memory on kick, quit or part?
this is the code..
on *:TEXT:*:#Rockul:{
hinc -m textcounter. [ $+ [ $chan ] ] $nick
if (($me isop $chan) && ($hget(textcounter. [ $+ [ $chan ] ] ,$nick) > 50)) {
; ^ 50 above is the number of lines needed to voice, change as u like
mode $chan +v $nick
}
}
i thought smth like that would do..
on 1:kick:#:{
if ($knick = $nick($1,%i,v)) { hdel textcounter. [ $+ [ $1 ] ] $nick($1,%i,v) }
}
but oviously i`m not a scripter..so that wouldnt work
any ideas, pls ?