I little tweaking :\ - 04/02/07 06:31 PM
Thanks for the help yesterday everyone
THe script for devoicing certain names works like a charm.
I only have one problem tho. The script was made to help prevent people from logging on to a certain username in my channel. When they enter with a certain perfix in their name it will warm the channel, warm them, and devoice them and set +m. The only problem is when the real person comes in already with a ID and ChanServ +v the script still goes off . Is there anyway I can halt the script if the person comes in already IDed?
Heres the current set up.
Ok thats works fine doing it to anyone with "[8_" in their username. But it will still does it a person if they come in with a ID already.
Example.
* [8_JOHN_8] has joined #CHAN
<ME> [8_JOHN_8] has been devoiced due to suspicious activity!!!
<ME> [8_JOHN_8] has been devoiced due to suspicious activity!!!
<ME> [8_JOHN_8] may not be the real user unless he/she IDed and Chanserved a VOICE!
* ChanServ sets mode: +v [8_JOHN_8]
* ME sets mode: -v [8_JOHN_8]
* ME sets mode: +m
THe script for devoicing certain names works like a charm.
I only have one problem tho. The script was made to help prevent people from logging on to a certain username in my channel. When they enter with a certain perfix in their name it will warm the channel, warm them, and devoice them and set +m. The only problem is when the real person comes in already with a ID and ChanServ +v the script still goes off . Is there anyway I can halt the script if the person comes in already IDed?
Heres the current set up.
Code:
on *:JOIN:#CHAN: { if ( *[8_* iswm $nick ) { mode $chan -v $nick mode $chan +m msg $chan 0,1 $nick has been devoiced due to suspicious activity!!! msg $chan 0,1 $nick has been devoiced due to suspicious activity!!! msg $chan 0,1 $nick may not be the real user unless he/she IDed and Chanserved a VOICE! .notice $nick Please ID to receive a voice! If you feel this is a error please pm a op or hop }
Ok thats works fine doing it to anyone with "[8_" in their username. But it will still does it a person if they come in with a ID already.
Example.
Quote:
* [8_JOHN_8] has joined #CHAN
<ME> [8_JOHN_8] has been devoiced due to suspicious activity!!!
<ME> [8_JOHN_8] has been devoiced due to suspicious activity!!!
<ME> [8_JOHN_8] may not be the real user unless he/she IDed and Chanserved a VOICE!
* ChanServ sets mode: +v [8_JOHN_8]
* ME sets mode: -v [8_JOHN_8]
* ME sets mode: +m