mIRC Homepage
Posted By: Deep3D On Join (ircop) - 29/12/02 07:53 PM
Ok, how to get a echo when a ircop joins a channel? grin
Posted By: Dana Re: On Join (ircop) - 29/12/02 07:59 PM
You have to /whois every person who joins a channel. And then use raw to verify whether they are an IRCop or not.

There's a nice tutorial for dealing with raw events here.
Posted By: Deep3D Re: On Join (ircop) - 29/12/02 08:12 PM
humm,, ok.. ill try to make a scrip.. crazy
Posted By: Online Re: On Join (ircop) - 29/12/02 08:20 PM
Or /who him... I'd prefer /who because it replies less data.

If he's an IRCop, the 7th parameter of the raw reply should contain the * char.
Code:
raw 352:*: if (* isin $7) { echo $6 is an oper }
Posted By: Dana Re: On Join (ircop) - 29/12/02 08:22 PM
The problem with WHO is that it doesn't work on all networks or it doesn't work the same way smirk

Dana
Posted By: Saturne Re: On Join (ircop) - 29/12/02 08:22 PM
And you can easily hide the who reply, to avoid being annoyed by it.
Posted By: Deep3D Re: On Join (ircop) - 29/12/02 08:24 PM
Ohhh... thanks.. smile

where to find all the raw events? a url or somthing..
Posted By: Online Re: On Join (ircop) - 29/12/02 08:31 PM
I don't remember a known ircd that doesn't support this /who feature, but it's true that /whois gives more details ("server administartor", "csop" etc).
Posted By: Dana Re: On Join (ircop) - 29/12/02 08:42 PM
While most IRCDs might support it, there's a problem of them allowing users access. On Webnet for example, you are not allowed to /who an entire channel. On a lot of networks, you can't directly /who a nickname who is set to invisible.

For instance, on DALnet, you have to specify a channel when you want the WHO command to work successfully. That requires certain parameters added to the WHO command.

Anyway, my point is that the usage and access of WHO varies a lot more on the different IRC networks than /whois. smile
Posted By: MonoSex Re: On Join (ircop) - 29/12/02 11:43 PM
Or he can use /userhost, there's a * too AFAIK, after the nick.
© mIRC Discussion Forums