That code can be simplified quiet abit.
Ex: 1
else {
mode # +v $nick
}
}
Thats not needed. The first part will work just fine.
Ex: 2
on 50:text:-screw *:#: {
if ($2 == $me) || ($2 == $me) {
ban -k $chan $nick Wrong!
}
else {
ban -k $chan $2 2 $3-
}
}
The first part is being used wrong.
From the mIRC Help File :
Combining comparisons
You can combine comparisons by using the && for AND and || for OR characters.
/help || - Will display more info about this.
What you put would be banning yourself. I\'m not sure if you want that or not. Try using
on 50:text:-screw:#:{
if ($2 = $me) { .msg $nick Don\'t ban yourself. }
elseif ($2 != $me) { ban -k $chan $2 2 $3- }
}
I think this is what you were aiming for, if not im sorry.