mIRC Homepage

How does mIRC identify a halfop?

Posted By: Mike_Healan

How does mIRC identify a halfop? - 28/03/03 09:47 AM

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.
Posted By: Watchdog

Re: How does mIRC identify a halfop? - 28/03/03 09:57 AM

ON HELP
Posted By: Mike_Healan

Re: How does mIRC identify a halfop? - 28/03/03 10:20 AM

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
Posted By: The_Game

Re: How does mIRC identify a halfop? - 28/03/03 10:41 AM

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...
Posted By: Mike_Healan

Re: How does mIRC identify a halfop? - 28/03/03 11:06 AM

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.
Posted By: The_Game

Re: How does mIRC identify a halfop? - 28/03/03 11:33 AM

glad it works for ya....as for the help no problem thats what we are here for...to help out one another..
Posted By: KingTomato

Re: How does mIRC identify a halfop? - 28/03/03 04:00 PM

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
Posted By: The_Game

Re: How does mIRC identify a halfop? - 28/03/03 09:17 PM

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.
Posted By: KingTomato

Re: How does mIRC identify a halfop? - 28/03/03 11:10 PM

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
Posted By: The_Game

Re: How does mIRC identify a halfop? - 29/03/03 01:54 AM

Right...I'll try not to make things confusing for them in the future....
© 2020 mIRC Discussion Forums