Raw 352

From Scriptwiki
Jump to: navigation, search
Format:<source> 352 <target> <channel> <user> <host> <server> <nick> <flags> :<distance> <realname>

This is returned when using the WHO command

  • <channel>

when requested the information for an entire channel (eg /WHO <channel>) this will be that channel else this will return the last channel joined by the user without chanmode +p/+s if the user has +i set, the last common channel (without chanmode +p/+s) that was joined is shown a * is shown if no channel can be shown

  • <user>

username, the user part from nick!USER@host

  • <host>

the hostname the user has on IRC, nick!user@HOST

  • <server>

the server the user is on

  • <nick>

the nickname 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: only one of these prefixes is shown)

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

  • <realname>

the realname given when the user connected

For more information about the WHO command see:

Example: irc.quakenet.org 352 Dana #help.script Dana Dana.users.quakenet.org *.quakenet.org Dana G+x :0 Dana