mIRC Home    About    Download    Register    News    Help

Print Thread
sandopolis #59906 11/11/03 10:19 PM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
what all things can you do via scripting with /who command?
or better said: what all things can be done using /who command?

Re: sandopolis #59907 11/11/03 11:54 PM
Joined: Jun 2003
Posts: 5,024
M
Mentality Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
There are various different /who flags (Flags are like modes you specifiy to make the command behave differently).

Here are the ones I am aware of:

Flag a: user is away.

Flag c #channel: user is on <channel>.

Flag h <host>: user has string <host> in their hostname.

Flag m <usermodes>: user has <usermodes> set on them.

Flag n <nick>: user has string <nick> in their nickname.

Flag s <server>: user is on server <server>.

Flag u <user>: user has string <user> in their username.

Flag C: show first visible channel user is in.

Flag M: check for user in channels you are in.

The above modes are case sensitive (So flag 'a' is not the same as flag 'A').

Examples

i) /who +Mh *hostname/ip here*
- This would search for a hostname (or part of a hostname) in all the channels you're currently in. So /who +Mh *aol.com* would search for all AOL users in the channel you're in.

ii) /who +m w
- This would search ALL users on the entire network to see if they had usermode +w (which means they can see WALLOPS, a type of IRCOp message)

Please note: Some networks may have added other who modes and disabled some of the ones listed above. It might be best to check with the networks main help channel, possibly #Help - check their website.

As for scripting, that's not really an answerable question. A command can be used in about 10,000,000 ways when it comes to scripting, especially one as diverse as /who so it's fairly impossible to list them all. Then again, perhaps I misunderstood you smile That said, scripting questions and the like are probably best asked in the Scripts & Popups section of the message boards.

Happy chatting!

Regards,


Mentality/Chris
Re: sandopolis #59908 12/11/03 12:11 AM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
The flags Mentality mentioned ^ exist on the Bahamut server that DALnet uses. On some other networks you will be surprised to find a way basic system.

Re: sandopolis #59909 12/11/03 07:47 AM
Joined: Jan 2003
Posts: 428
P
PastMaster Offline
Fjord artisan
Offline
Fjord artisan
P
Joined: Jan 2003
Posts: 428
Although it has an Undernet bias, this page is a good place to start in understanding /who.

PastMaster


IRCnet & DALnet @#travelersinn
:-: IRC for fun and relaxation :-:
Re: sandopolis #59910 12/11/03 01:42 PM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
wow, thanks so very much! i thought no1 will reply since moderators think that this is illegal (due to ircop scan) but heck... they allowed it... so thank you all!

Re: sandopolis #59911 12/11/03 01:53 PM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
+ i saw on that tutorial/info text:

Beside the nick in the reply we will gett various letters indicating:

H / G - Here or Gone, indicating if the nick is set /away or not
* - he nick is an IRC-operator
@ - the nick is a channel-operator on the last channel it joined and still is on

+ - The nick is voiced on the last channel it joined and still is on
! - The nick is zombie on a channel
d - The nick is set deaf



what means zombie and what means deaf?

and if i want to see if some user is +v or @ on chan what di i need to enter?

/who +m+@ ?

Re: sandopolis #59912 12/11/03 03:49 PM
Joined: Dec 2002
Posts: 62
lonesome Offline
Babel fish
Offline
Babel fish
Joined: Dec 2002
Posts: 62
a user that on mode +d (deaf) will not be able to see any conversation on any channels they are on. this is how it works for my network =D