mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2003
Posts: 9
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Mar 2003
Posts: 9
How does mIRC identify a halfop? I want to script a remote for when someone halfops me.
on *:OP:#: is how it's done for full OP, but how would I do that halfop? on *:HALFOP:#: didn't work.

Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
ON HELP

Joined: Mar 2003
Posts: 9
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Mar 2003
Posts: 9
Doesn't seem to be working for some reason smirk

on *:HELP:#:{
if $hnick == $me
echo $active You've been halfopped in $chan
}
Nothing happens

Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
Why not try this

On *:HELP:#Channel:/msg $chan $nick was halfopped!
}

i think that will work....im not sure...i havent tested it so all i can say is try it

or

on *:HELP:#Channel:/echo -s $hnick was halfopped!!
}

Like i said im not totally sure on this...

Last edited by The_Game; 28/03/03 10:44 AM.
Joined: Mar 2003
Posts: 9
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Mar 2003
Posts: 9
Got it finally

on *:help:#:{
if ($hnick == $me) {
cs dehalfop # $me
}
}

What I'm doing is when someone HalfOPs me, it tells chanserv to dehalfop me. I have a friend who annoys the hell out of me by halfopping me while I'm away and I've deopped myself.

Thanks guys.

Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
glad it works for ya....as for the help no problem thats what we are here for...to help out one another..

Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
You can, i believe just use /mode # -h $me, rather then querying chanserv. This might be better for chans you don't have power on.

Also, on a side note, the game why u add an extra brace to the end of your statement where none is needed confused


-KingTomato
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
thats a simple answer i was cut and pasting....hoping he would be able to differenciate between what i posted by using one or the other.....I see that this could add to some confusion...i will try to make more sense outta things in the future.

Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
I mean, I'm not trying to attack your scripting skills, just curius. Also, no offence to those who need help in the boards, just that excess characters might be take literally, esp by those whom don't know whats going on. grin


-KingTomato
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
Right...I'll try not to make things confusing for them in the future....


Link Copied to Clipboard