I am hoping someone can help me with this. I am trying to make it to where they can't kick other mods, but if they are a mod and are trying to kick a legitimate user it goes through with the command because they have moderator privileges. Any help with this would be much appreciate. For example, if ($nick isop #) && $$2(variable I have set for the user) !isop #) { is basically what I am trying to do, but it isn't working.
Thanks,
Netct
on *:TEXT:!kick *:#: {
if ($$2 == $remove(#,$chr(35))) { msg # You can't kick the streamer. Kappa | return }
if ($nick == $$2) { msg # You can't kick yourself! Kappa | return }
if ($nick isop #) { msg # You can't kick other mods! FailFish | return }
if ($nick isop #) {
var %nick = $$2
msg $chan /timeout %nick
msg $chan /me $capital(%nick) was timed out from the chat for 10 minutes. Please consider following rules next time. $capital(%nick) $+ !
}
else { msg $chan You aren't a moderator. DansGame }