mIRC Homepage
Posted By: bunar sandopolis - 11/11/03 10:19 PM
what all things can you do via scripting with /who command?
or better said: what all things can be done using /who command?
Posted By: Mentality Re: sandopolis - 11/11/03 11:54 PM
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,
Posted By: Online Re: sandopolis - 12/11/03 12:11 AM
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.
Posted By: PastMaster Re: sandopolis - 12/11/03 07:47 AM
Although it has an Undernet bias, this page is a good place to start in understanding /who.

PastMaster
Posted By: bunar Re: sandopolis - 12/11/03 01:42 PM
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!
Posted By: bunar Re: sandopolis - 12/11/03 01:53 PM
+ 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+@ ?
Posted By: lonesome Re: sandopolis - 12/11/03 03:49 PM
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
© mIRC Discussion Forums