mIRC Home    About    Download    Register    News    Help

Print Thread
How does mIRC identify a halfop? #17197 28/03/03 09:47 AM
Joined: Mar 2003
Posts: 9
M
Mike_Healan Offline OP
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.

Re: How does mIRC identify a halfop? #17198 28/03/03 09:57 AM
Joined: Dec 2002
Posts: 2,985
Watchdog Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
ON HELP

Re: How does mIRC identify a halfop? #17199 28/03/03 10:20 AM
Joined: Mar 2003
Posts: 9
M
Mike_Healan Offline OP
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

Re: How does mIRC identify a halfop? #17200 28/03/03 10:41 AM
Joined: Dec 2002
Posts: 1,237
T
The_Game Offline
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.
Re: How does mIRC identify a halfop? #17201 28/03/03 11:06 AM
Joined: Mar 2003
Posts: 9
M
Mike_Healan Offline OP
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.

Re: How does mIRC identify a halfop? #17202 28/03/03 11:33 AM
Joined: Dec 2002
Posts: 1,237
T
The_Game Offline
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..

Re: How does mIRC identify a halfop? #17203 28/03/03 04:00 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
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
Re: How does mIRC identify a halfop? #17204 28/03/03 09:17 PM
Joined: Dec 2002
Posts: 1,237
T
The_Game Offline
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.

Re: How does mIRC identify a halfop? #17205 28/03/03 11:10 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
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
Re: How does mIRC identify a halfop? #17206 29/03/03 01:54 AM
Joined: Dec 2002
Posts: 1,237
T
The_Game Offline
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....