hey people
on +1:deop:#:{
if ($opnick == $me) {
chanserv op $chan $me
mode $chan -o $nick
}
}
and I've added this to USER>> 2:ABC!*@* (and I've also tried =2:ABC!*@*)
but when ABC deop me, the script above is still triggered, why??
however, on text event works fine.
on +1:TEXT:hi:#:msg $chan hi $nick
when ABC says 'hi', it won't be triggered, it's only triggered when other people without USER LEVELS say 'hi'.
how to solve it ?
try change on +1:deop:#: to on 1:deop:#:
yeah i've tried
yet still the same
what about using On *1:deop:
he wants a deop scripts not on *:TEXT =o\
I know I caught that and changed it....it wouldnt hurt to try it
just had a thought try
On @1:Deop: or reading your helpfile on the "On Deop" event....
i don't know mirc script very much, yet i'm just not an newbie
on @1: will only be triggered if $me is an op ..
on @1:deop would never be triggered.....
even though, i've tried, it just doesn't work
+ in front of the UserLevel means that it will be triggered only for that level and not higher, if u want it for level and higher use:
on 1:deop:#:{
if ($opnick == $me) {
chanserv op $chan $me
mode $chan -o $nick
}
}
btw, u can replace 1 with * so it will be for everybody(even for users that their level is a WORD)
I want it only triggered for level 1 user, so I use the + prefix
And I want it not triggered for ABC, so I add ABC a level 2 user by =2:ABC!*@* (I've also tried 2:ABC!*@*)
But the on +1:deop: script would still be triggered by ABC,
while the on +1:text script wouldn't be
Does it work the same in your mIRC ?
well, u added ABC to level 2, not 1
right, I added ABC to level 2,
'cause I want ABC not to trigger the on +1:DEOP script,
but ABC still triggers on +1:DEOP,
while ABC doesn't trigger on +1:TEXT
perhaps you can have a try
that's why i told u remvoe the +, remove it from the on text
hey..I want ABC not to trigger on +1:text
it doesn't
I want ABC not to trigger on +1:deop
yet ABC triggers
but why i just use the same prefix (on +1:)
ABC triggers one but not another?
so did you get the same result?
i've finally figured that out....
on 2:deop: doesn't detect the $nick but the $opnick.. that's why
so I have to add a level check on $nick into the script
Thanks all