mIRC Home    About    Download    Register    News    Help

Print Thread
#3974 29/12/02 07:53 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
Ok, how to get a echo when a ircop joins a channel? grin

#3975 29/12/02 07:59 PM
Joined: Dec 2002
Posts: 144
D
Vogon poet
Offline
Vogon poet
D
Joined: Dec 2002
Posts: 144
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.


"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
#3976 29/12/02 08:12 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
humm,, ok.. ill try to make a scrip.. crazy

#3977 29/12/02 08:20 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
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 }

#3978 29/12/02 08:22 PM
Joined: Dec 2002
Posts: 144
D
Vogon poet
Offline
Vogon poet
D
Joined: Dec 2002
Posts: 144
The problem with WHO is that it doesn't work on all networks or it doesn't work the same way smirk

Dana


"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
#3979 29/12/02 08:22 PM
Joined: Dec 2002
Posts: 21
S
Ameglian cow
Offline
Ameglian cow
S
Joined: Dec 2002
Posts: 21
And you can easily hide the who reply, to avoid being annoyed by it.


DNWT.net Coalition of irc networks
#3980 29/12/02 08:24 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
Ohhh... thanks.. smile

where to find all the raw events? a url or somthing..

#3981 29/12/02 08:31 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
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).

#3982 29/12/02 08:42 PM
Joined: Dec 2002
Posts: 144
D
Vogon poet
Offline
Vogon poet
D
Joined: Dec 2002
Posts: 144
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


"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
#3983 29/12/02 11:43 PM
Joined: Dec 2002
Posts: 395
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
Or he can use /userhost, there's a * too AFAIK, after the nick.


Link Copied to Clipboard