It actually depends on the type of server you are on. In that remote just pasted it would only work if you were on the channels AOP or SOP list AND only if the server is running Chanserv ,Nickserv services..
ok, that worked, and i'm adding ones in to reowner myself if someone -q's me, and it works, but now i;m trying to get deprotect to work (mode "a"), and it isnt working, this is what i got
Code:
on *:DEPROTECT:#:{
if ($nick == $me) { halt | stop }
elseif ($opnick == $me) {
msg chanserv protect $chan
.timer 1 1 mode $chan -a $nick
.timer 1 2 kick $chan $nick Don't try to deprotect me
}
}
well, i still cant get it working, i'm running unrealircd, and the mode is +/- a, (which you type /msg chanserv protect #chan nick, to set the mode +a on yourself, but i cant get to to detect when someone -a's me