Difference between revisions of "Raw 354"

From Scriptwiki
Jump to: navigation, search
m (reworded flags parameter partm updated link to readme.who, corrected example from woobie to Dana, corrected meaning of x in flags part, added oplevel)
Line 4: Line 4:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td valign="top">Format:</td><td><source> 354 <target> [<querytype>] [<channel>] [<user>] [<ip>] [<host>] [<server>] [<nick>] [<flags>] [<distance>] [<idle_time>] [<account>] [:<realname>]</td>
+
<td valign="top">Format:</td><td><source> 354 <target> [<querytype>] [<channel>] [<user>] [<ip>] [<host>] [<server>] [<nick>] [<flags>] [<distance>] [<idle_time>] [<account>] [<oplevel>] [:<realname>]</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 51: Line 51:
 
</td>
 
</td>
 
<td>
 
<td>
this part is formatted as &lt;H|G&gt;[*][!@+][&lt;usermodes&gt;] H
+
the flags part is formatted as &lt;H|G&gt;[*][!@+<][&lt;usermodes&gt;]
stands for Here and is returned if the user is not marked as being away
 
G means Gone and is returned if the user is marked as being away * is
 
shown if the user is an IRC Operator prefixes the user has on
 
  
&lt;channel&gt;, ! = zombie, @ = opped, + = voiced [&lt;usermodes&gt;]
+
the H stands for Here and is returned if the user is not marked as being away
part shows the usermodes the user has set, users can see +d and +x
+
 
usermode, opers can see +d, +i, +w, +g, +h, and +x usermodes
+
the G means Gone and is returned if the user is marked as being away
 +
 
 +
the * is shown if the user is an IRC Operator
 +
 
 +
the prefixes the user has on &lt;channel&gt;, ! = zombie, @ = opped, + = voiced, < = delayedjoin
 +
 
 +
the [&lt;usermodes&gt;] part shows the usermodes the user has set
 +
 
 +
ordinary users can see d (deaf) and x (hiddenhost) modes, note: the x here is only shown if the user also has an account set, and thus has their host hidden with users.quakenet.org
 +
 
 +
IRC Operators can also see i (invisible), w (wallops), g (debug), and h (sethost) modes
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 78: Line 85:
 
</td>
 
</td>
 
<td> the user is registered under this account with the network (0 for none) </td>
 
<td> the user is registered under this account with the network (0 for none) </td>
 +
</tr>
 +
<tr>
 +
<td>
 +
*[&lt;oplevel&gt;]
 +
</td>
 +
<td> the user's oplevel (0-999) on &lt;channel&gt;, "n/a" is shown when user is not opped, the real oplevel is only shown to channel operators and IRC operators, else oplevel 999 is shown</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 88: Line 101:
 
for more information on the WHO command see:<br />
 
for more information on the WHO command see:<br />
 
http://www.mircscripts.org/showdoc.php?type=tutorial&id=2412<br />
 
http://www.mircscripts.org/showdoc.php?type=tutorial&id=2412<br />
https://svn.quakenet.org/svn/quakenet/snircd/trunk/doc/readme.who<br />
+
http://hg.quakenet.org/snircd/file/tip/doc/readme.who<br />
 
http://ircu.sourceforge.net/release.2.10.01-who.html  
 
http://ircu.sourceforge.net/release.2.10.01-who.html  
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td valign="top">Example:</td><td> irc.quakenet.org 354 Dana 544 #help.script Dana 127.0.0.1 Dana.users.quakenet.org *.quakenet.org woobie G+x 3 0 Dana :Dana</td>
+
<td valign="top">Example:</td><td> irc.quakenet.org 354 Dana 544 #help.script Dana 127.0.0.1 Dana.users.quakenet.org *.quakenet.org Dana G+x 3 0 Dana :Dana</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
  
 
[[Category:Raws]][[Category:Raw_who]]
 
[[Category:Raws]][[Category:Raw_who]]

Revision as of 14:14, 17 March 2011

Name:RPL_WHOSPCRPL
Format:<source> 354 <target> [<querytype>] [<channel>] [<user>] [<ip>] [<host>] [<server>] [<nick>] [<flags>] [<distance>] [<idle_time>] [<account>] [<oplevel>] [:<realname>]
Info:

This is returned when using the WHO command

  • [<channel>]
requested channel or last channel joined by the user without chanmode +p/+s
  • [<user>]
the username, nick!USER@host
  • [<ip>]
the user is connected from this IP
  • [<host>]
the hostname the user has on IRC, nick!user@HOST
  • [<server>]
which server the user is on
  • [<nick>]
the nick of the user
  • [<flags>]

the flags part is formatted as <H|G>[*][!@+<][<usermodes>]

the H stands for Here and is returned if the user is not marked as being away

the G means Gone and is returned if the user is marked as being away

the * is shown if the user is an IRC Operator

the prefixes the user has on <channel>, ! = zombie, @ = opped, + = voiced, < = delayedjoin

the [<usermodes>] part shows the usermodes the user has set

ordinary users can see d (deaf) and x (hiddenhost) modes, note: the x here is only shown if the user also has an account set, and thus has their host hidden with users.quakenet.org

IRC Operators can also see i (invisible), w (wallops), g (debug), and h (sethost) modes

  • [<distance>]
number of servers between you and the user
  • [<idle_time>]
returns the user's idle-time if the user is using the same server as you
  • [<account>]
the user is registered under this account with the network (0 for none)
  • [<oplevel>]
the user's oplevel (0-999) on <channel>, "n/a" is shown when user is not opped, the real oplevel is only shown to channel operators and IRC operators, else oplevel 999 is shown
  • [:<realname>]
the user's realname

for more information on the WHO command see:
http://www.mircscripts.org/showdoc.php?type=tutorial&id=2412
http://hg.quakenet.org/snircd/file/tip/doc/readme.who
http://ircu.sourceforge.net/release.2.10.01-who.html

Example: irc.quakenet.org 354 Dana 544 #help.script Dana 127.0.0.1 Dana.users.quakenet.org *.quakenet.org Dana G+x 3 0 Dana :Dana