Difference between revisions of "Raw 354"

From Scriptwiki
Jump to: navigation, search
 
m (add oplevel to example)
 
(4 intermediate revisions by 2 users not shown)
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;, where @ = opped, + = voiced, ! = zombie, < = delayedjoin (note: more than one prefix can be shown, e.g. @+ if the user is both opped and voiced)
 +
 
 +
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 87: Line 100:
 
</table>
 
</table>
 
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://cvs.quakenet.org/cgi-bin/cvsweb.cgi/~checkout~/asuka/doc/readme.who?rev=1.1.1.1&content-type=text/plain<br />
+
http://www.mircscripts.org/showdoc.php?type=tutorial&id=2412<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 999 :Dana</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
  
 
[[Category:Raws]][[Category:Raw_who]]
 
[[Category:Raws]][[Category:Raw_who]]

Latest revision as of 13:26, 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>, where @ = opped, + = voiced, ! = zombie, < = delayedjoin (note: more than one prefix can be shown, e.g. @+ if the user is both opped and voiced)

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 999 :Dana