mIRC Home    About    Download    Register    News    Help

Print Thread
who variations #141365 08/02/06 08:23 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
for opers i have this

/raw who 0 o

it works on some networks, but i tried that on
PTnet today and they had

/raw who * o

so are there any other variations for some networks ?
and which of this 2 are better?

Last edited by raZOR; 08/02/06 08:25 PM.

IceCapped
Re: who variations #141366 09/02/06 10:36 AM
Joined: Dec 2002
Posts: 349
S
Skip Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Dec 2002
Posts: 349
In most ircd I've looked at, the 0 has to be manually replaced so it matches all users (by pretending no mask was specified at all), whereas the '*' makes use of the wildcard matching abilities in the ircd.*

It really is up to preference which you use (if they're both supported), but I personally find '/who * o' to be more understandable ("show all clients (*) with oper (o) usermode"), also it's probably pretty common having users confuse the '0' with 'O'.

I'm not sure of any ircd having different methods, unrealircd does have a different format, but I'm not sure if this is used to find opers or whether it can still use the old method.

Hope this helps smile

* = many ircd actually look for "*" and remap this to a 'blank query' also to reduce load (no need to do match() checks), but for the sake of your question this isn't relevant.

Re: who variations #141367 09/02/06 11:44 AM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
so /who * o is prefferable?


IceCapped
Re: who variations #141368 09/02/06 11:47 AM
Joined: Dec 2002
Posts: 349
S
Skip Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Dec 2002
Posts: 349
Yes, I think so. It 'makes more sense' and is less likely to break than the '0' handling (which requires special handling).

Re: who variations #141369 09/02/06 11:49 AM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
okay, thank you very much ! =)
(was confused with those two)


IceCapped