Advertisement
Shinmera

Colleen Generated Events

Dec 16th, 2013
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 38.05 KB | None | 0 0
  1. (define-event welcome-event :RPL_WELCOME (event)
  2.     (message)
  3.     (:documentation "The first message sent after client registration. The text used varies widely"))
  4.  
  5. (define-event yourhost-event :RPL_YOURHOST (event)
  6.     (message)
  7.     (:documentation "Part of the post-registration greeting. Text varies widely"))
  8.  
  9. (define-event created-event :RPL_CREATED (event)
  10.     (message)
  11.     (:documentation "Part of the post-registration greeting. Text varies widely"))
  12.  
  13. (define-event myinfo-event :RPL_MYINFO (event)
  14.     (server-name version user-modes chan-modes)
  15.     (:documentation "Part of the post-registration greeting"))
  16.  
  17. (define-event myinfo-event :RPL_MYINFO (event)
  18.     (server-name version user-modes chan-modes channel-modes-with-params user-modes-with-params server-modes server-modes-with-params)
  19.     (:documentation "Same as RFC2812 however with additional fields to avoid additional 005 burden."))
  20.  
  21. (define-event bounce-event :RPL_BOUNCE (event)
  22.     (message)
  23.     (:documentation "Sent by the server to a user to suggest an alternative server, sometimes used when the connection is refused because the server is already full. Also known as RPL_SLINE (AustHex), and RPL_REDIR Also see #010 ."))
  24.  
  25. (define-event bounce-event :RPL_BOUNCE (event)
  26.     (hostname port message)
  27.     (:documentation "Sent to the client to redirect it to another server. Also known as RPL_REDIR"))
  28.  
  29. (define-event savenick-event :RPL_SAVENICK (event)
  30.     (message)
  31.     (:documentation "Sent to the client when their nickname was forced to change due to a collision"))
  32.  
  33. (define-event tracelink-event :RPL_TRACELINK (event)
  34.     (link version destination next-server &optional vprotocol-version link-uptime-in-seconds backstream-sendq upstream-sendq)
  35.     (:documentation "See RFC"))
  36.  
  37. (define-event traceconnecting-event :RPL_TRACECONNECTING (event)
  38.     (NIL class server)
  39.     (:documentation "See RFC"))
  40.  
  41. (define-event tracehandshake-event :RPL_TRACEHANDSHAKE (event)
  42.     (NIL class server)
  43.     (:documentation "See RFC"))
  44.  
  45. (define-event traceunknown-event :RPL_TRACEUNKNOWN (event)
  46.     (NIL class &optional connection-address)
  47.     (:documentation "See RFC"))
  48.  
  49. (define-event traceoperator-event :RPL_TRACEOPERATOR (event)
  50.     (oper class nick)
  51.     (:documentation "See RFC"))
  52.  
  53. (define-event traceuser-event :RPL_TRACEUSER (event)
  54.     (user class nick)
  55.     (:documentation "See RFC"))
  56.  
  57. (define-event traceserver-event :RPL_TRACESERVER (event)
  58.     (serv class ints intc server hostname &optional vprotocol-version)
  59.     (:documentation "See RFC"))
  60.  
  61. (define-event traceservice-event :RPL_TRACESERVICE (event)
  62.     (service class name type active-type)
  63.     (:documentation "See RFC"))
  64.  
  65. (define-event tracenewtype-event :RPL_TRACENEWTYPE (event)
  66.     (newtype NIL client-name)
  67.     (:documentation "See RFC"))
  68.  
  69. (define-event traceclass-event :RPL_TRACECLASS (event)
  70.     (class class count)
  71.     (:documentation "See RFC"))
  72.  
  73. (define-event statslinkinfo-event :RPL_STATSLINKINFO (event)
  74.     (linkname sendq sent-msgs sent-bytes recvd-msgs rcvd-bytes time-open)
  75.     (:documentation "Reply to STATS (See RFC)"))
  76.  
  77. (define-event statscommands-event :RPL_STATSCOMMANDS (event)
  78.     (command count &optional byte-count remote-count)
  79.     (:documentation "Reply to STATS (See RFC)"))
  80.  
  81. (define-event statscline-event :RPL_STATSCLINE (event)
  82.     (NIL host NIL name port class)
  83.     (:documentation "Reply to STATS (See RFC)"))
  84.  
  85. (define-event statsnline-event :RPL_STATSNLINE (event)
  86.     (NIL host NIL name port class)
  87.     (:documentation "Reply to STATS (See RFC), Also known as RPL_STATSOLDNLINE (ircu, Unreal)"))
  88.  
  89. (define-event statsiline-event :RPL_STATSILINE (event)
  90.     (NIL host NIL host port class)
  91.     (:documentation "Reply to STATS (See RFC)"))
  92.  
  93. (define-event statskline-event :RPL_STATSKLINE (event)
  94.     (NIL host NIL username port class)
  95.     (:documentation "Reply to STATS (See RFC)"))
  96.  
  97. (define-event statsyline-event :RPL_STATSYLINE (event)
  98.     (NIL class ping-freq connect-freq max-sendq)
  99.     (:documentation "Reply to STATS (See RFC)"))
  100.  
  101. (define-event endofstats-event :RPL_ENDOFSTATS (event)
  102.     (query message)
  103.     (:documentation "End of RPL_STATS* list."))
  104.  
  105. (define-event umodeis-event :RPL_UMODEIS (event)
  106.     (user-modes &optional user-mode-params)
  107.     (:documentation "Information about a user's own modes. Some daemons have extended the mode command and certain modes take parameters (like channel modes)."))
  108.  
  109. (define-event servlist-event :RPL_SERVLIST (event)
  110.     (name server mask type hopcount message)
  111.     (:documentation "A service entry in the service list"))
  112.  
  113. (define-event servlistend-event :RPL_SERVLISTEND (event)
  114.     (mask type message)
  115.     (:documentation "Termination of an RPL_SERVLIST list"))
  116.  
  117. (define-event statslline-event :RPL_STATSLLINE (event)
  118.     (NIL hostmask NIL servername maxdepth)
  119.     (:documentation "Reply to STATS (See RFC)"))
  120.  
  121. (define-event statsuptime-event :RPL_STATSUPTIME (event)
  122.     (message)
  123.     (:documentation "Reply to STATS (See RFC)"))
  124.  
  125. (define-event statsoline-event :RPL_STATSOLINE (event)
  126.     (NIL hostmask NIL nick [info])
  127.     (:documentation "Reply to STATS (See RFC); The info field is an extension found in some IRC daemons, which returns info such as an e-mail address or the name/job of an operator"))
  128.  
  129. (define-event statshline-event :RPL_STATSHLINE (event)
  130.     (NIL hostmask NIL servername)
  131.     (:documentation "Reply to STATS (See RFC)"))
  132.  
  133. (define-event luserclient-event :RPL_LUSERCLIENT (event)
  134.     (message)
  135.     (:documentation "Reply to LUSERS command, other versions exist (eg. RFC2812); Text may vary."))
  136.  
  137. (define-event luserop-event :RPL_LUSEROP (event)
  138.     (int message)
  139.     (:documentation "Reply to LUSERS command - Number of IRC operators online"))
  140.  
  141. (define-event luserunknown-event :RPL_LUSERUNKNOWN (event)
  142.     (int message)
  143.     (:documentation "Reply to LUSERS command - Number of unknown/unregistered connections"))
  144.  
  145. (define-event luserchannels-event :RPL_LUSERCHANNELS (event)
  146.     (int message)
  147.     (:documentation "Reply to LUSERS command - Number of channels formed"))
  148.  
  149. (define-event luserme-event :RPL_LUSERME (event)
  150.     (message)
  151.     (:documentation "Reply to LUSERS command - Information about local connections; Text may vary."))
  152.  
  153. (define-event adminme-event :RPL_ADMINME (event)
  154.     (server message)
  155.     (:documentation "Start of an RPL_ADMIN* reply. In practise, the server parameter is often never given, and instead the info field contains the text 'Administrative info about <server>'. Newer daemons seem to follow the RFC and output the server's hostname in the 'server' parameter, but also output the server name in the text as per traditional daemons."))
  156.  
  157. (define-event adminloc1-event :RPL_ADMINLOC1 (event)
  158.     (admin-location)
  159.     (:documentation "Reply to ADMIN command (Location, first line)"))
  160.  
  161. (define-event adminloc2-event :RPL_ADMINLOC2 (event)
  162.     (admin-location)
  163.     (:documentation "Reply to ADMIN command (Location, second line)"))
  164.  
  165. (define-event adminemail-event :RPL_ADMINEMAIL (event)
  166.     (email-address)
  167.     (:documentation "Reply to ADMIN command (E-mail address of administrator)"))
  168.  
  169. (define-event tracelog-event :RPL_TRACELOG (event)
  170.     (file logfile debug-level)
  171.     (:documentation "See RFC"))
  172.  
  173. (define-event traceend-event :RPL_TRACEEND (event)
  174.     (server-name version message)
  175.     (:documentation "Used to terminate a list of RPL_TRACE* replies"))
  176.  
  177. (define-event tryagain-event :RPL_TRYAGAIN (event)
  178.     (command message)
  179.     (:documentation "When a server drops a command without processing it, it MUST use this reply. Also known as RPL_LOAD_THROTTLED and RPL_LOAD2HI, I'm presuming they do the same thing."))
  180.  
  181. (define-event away-event :RPL_AWAY (event)
  182.     (nick message)
  183.     (:documentation "Used in reply to a command directed at a user who is marked as away"))
  184.  
  185. (define-event userhost-event :RPL_USERHOST (event)
  186.     (message)
  187.     (:documentation "Reply used by USERHOST (see RFC)"))
  188.  
  189. (define-event ison-event :RPL_ISON (event)
  190.     (message)
  191.     (:documentation "Reply to the ISON command (see RFC)"))
  192.  
  193. (define-event unaway-event :RPL_UNAWAY (event)
  194.     (message)
  195.     (:documentation "Reply from AWAY when no longer marked as away"))
  196.  
  197. (define-event nowaway-event :RPL_NOWAWAY (event)
  198.     (message)
  199.     (:documentation "Reply from AWAY when marked away"))
  200.  
  201. (define-event whoisuser-event :RPL_WHOISUSER (event)
  202.     (nick user host NIL real-name)
  203.     (:documentation "Reply to WHOIS - Information about the user"))
  204.  
  205. (define-event whoisserver-event :RPL_WHOISSERVER (event)
  206.     (nick server server-info)
  207.     (:documentation "Reply to WHOIS - What server they're on"))
  208.  
  209. (define-event whoisoperator-event :RPL_WHOISOPERATOR (event)
  210.     (nick privileges)
  211.     (:documentation "Reply to WHOIS - User has IRC Operator privileges"))
  212.  
  213. (define-event whowasuser-event :RPL_WHOWASUSER (event)
  214.     (nick user host NIL real-name)
  215.     (:documentation "Reply to WHOWAS - Information about the user"))
  216.  
  217. (define-event endofwho-event :RPL_ENDOFWHO (event)
  218.     (name message)
  219.     (:documentation "Used to terminate a list of RPL_WHOREPLY replies"))
  220.  
  221. (define-event whoisidle-event :RPL_WHOISIDLE (event)
  222.     (nick seconds seconds idle)
  223.     (:documentation "Reply to WHOIS - Idle information"))
  224.  
  225. (define-event endofwhois-event :RPL_ENDOFWHOIS (event)
  226.     (nick message)
  227.     (:documentation "Reply to WHOIS - End of list"))
  228.  
  229. (define-event whoischannels-event :RPL_WHOISCHANNELS (event)
  230.     (nick message)
  231.     (:documentation "Reply to WHOIS - Channel list for user (See RFC)"))
  232.  
  233. (define-event liststart-event :RPL_LISTSTART (event)
  234.     (channels users  name)
  235.     (:documentation "Channel list - Header"))
  236.  
  237. (define-event list-event :RPL_LIST (event)
  238.     (channel visible topic)
  239.     (:documentation "Channel list - A channel"))
  240.  
  241. (define-event listend-event :RPL_LISTEND (event)
  242.     (message)
  243.     (:documentation "Channel list - End of list"))
  244.  
  245. (define-event channelmodeis-event :RPL_CHANNELMODEIS (event)
  246.     (channel mode mode-params)
  247.     (:documentation ""))
  248.  
  249. (define-event uniqopis-event :RPL_UNIQOPIS (event)
  250.     (channel nickname)
  251.     (:documentation ""))
  252.  
  253. (define-event whoisaccount-event :RPL_WHOISACCOUNT (event)
  254.     (nick authname message)
  255.     (:documentation ""))
  256.  
  257. (define-event notopic-event :RPL_NOTOPIC (event)
  258.     (channel message)
  259.     (:documentation "Response to TOPIC when no topic is set"))
  260.  
  261. (define-event topic-event :RPL_TOPIC (event)
  262.     (channel topic)
  263.     (:documentation "Response to TOPIC with the set topic"))
  264.  
  265. (define-event inviting-event :RPL_INVITING (event)
  266.     (nick channel)
  267.     (:documentation "Returned by the server to indicate that the attempted INVITE message was successful and is being passed onto the end client. Note that RFC1459 documents the parameters in the reverse order. The format given here is the format used on production servers, and should be considered the standard reply above that given by RFC1459."))
  268.  
  269. (define-event summoning-event :RPL_SUMMONING (event)
  270.     (user message)
  271.     (:documentation "Returned by a server answering a SUMMON message to indicate that it is summoning that user"))
  272.  
  273. (define-event invited-event :RPL_INVITED (event)
  274.     (channel target user message)
  275.     (:documentation "Sent to users on a channel when an INVITE command has been issued"))
  276.  
  277. (define-event invitelist-event :RPL_INVITELIST (event)
  278.     (channel invitemask)
  279.     (:documentation "An invite mask for the invite mask list"))
  280.  
  281. (define-event endofinvitelist-event :RPL_ENDOFINVITELIST (event)
  282.     (channel message)
  283.     (:documentation "Termination of an RPL_INVITELIST list"))
  284.  
  285. (define-event exceptlist-event :RPL_EXCEPTLIST (event)
  286.     (channel exceptionmask)
  287.     (:documentation "An exception mask for the exception mask list. Also known as RPL_EXLIST (Unreal, Ultimate)"))
  288.  
  289. (define-event endofexceptlist-event :RPL_ENDOFEXCEPTLIST (event)
  290.     (channel message)
  291.     (:documentation "Termination of an RPL_EXCEPTLIST list. Also known as RPL_ENDOFEXLIST (Unreal, Ultimate)"))
  292.  
  293. (define-event version-event :RPL_VERSION (event)
  294.     (version server comments)
  295.     (:documentation "Reply by the server showing its version details, however this format is not often adhered to"))
  296.  
  297. (define-event whoreply-event :RPL_WHOREPLY (event)
  298.     (channel user host server nick &rest rest)
  299.     (:documentation "Reply to vanilla WHO (See RFC). This format can be very different if the 'WHOX' version of the command is used (see ircu)."))
  300.  
  301. (define-event namreply-event :RPL_NAMREPLY (event)
  302.     (type channel &rest nickinfo)
  303.     (:documentation "Reply to NAMES (See RFC)"))
  304.  
  305. (define-event links-event :RPL_LINKS (event)
  306.     (mask server hopcount server-info)
  307.     (:documentation "Reply to the LINKS command"))
  308.  
  309. (define-event endoflinks-event :RPL_ENDOFLINKS (event)
  310.     (mask message)
  311.     (:documentation "Termination of an RPL_LINKS list"))
  312.  
  313. (define-event endofnames-event :RPL_ENDOFNAMES (event)
  314.     (channel message)
  315.     (:documentation "Termination of an RPL_NAMREPLY list"))
  316.  
  317. (define-event banlist-event :RPL_BANLIST (event)
  318.     (channel banid &optional time-left reason )
  319.     (:documentation "A ban-list item (See RFC); <time left> and <reason> are additions used by KineIRCd"))
  320.  
  321. (define-event endofbanlist-event :RPL_ENDOFBANLIST (event)
  322.     (channel message)
  323.     (:documentation "Termination of an RPL_BANLIST list"))
  324.  
  325. (define-event endofwhowas-event :RPL_ENDOFWHOWAS (event)
  326.     (nick message)
  327.     (:documentation "Reply to WHOWAS - End of list"))
  328.  
  329. (define-event info-event :RPL_INFO (event)
  330.     (message)
  331.     (:documentation "Reply to INFO"))
  332.  
  333. (define-event motd-event :RPL_MOTD (event)
  334.     (message)
  335.     (:documentation "Reply to MOTD"))
  336.  
  337. (define-event endofinfo-event :RPL_ENDOFINFO (event)
  338.     (message)
  339.     (:documentation "Termination of an RPL_INFO list"))
  340.  
  341. (define-event motdstart-event :RPL_MOTDSTART (event)
  342.     (message)
  343.     (:documentation "Start of an RPL_MOTD list"))
  344.  
  345. (define-event endofmotd-event :RPL_ENDOFMOTD (event)
  346.     (message)
  347.     (:documentation "Termination of an RPL_MOTD list"))
  348.  
  349. (define-event spam-event :RPL_SPAM (event)
  350.     (message)
  351.     (:documentation "Used during the connection (after MOTD) to announce the network policy on spam and privacy. Supposedly now obsoleted in favour of using NOTICE."))
  352.  
  353. (define-event youreoper-event :RPL_YOUREOPER (event)
  354.     (message)
  355.     (:documentation "Successful reply from OPER"))
  356.  
  357. (define-event rehashing-event :RPL_REHASHING (event)
  358.     (config-file message)
  359.     (:documentation "Successful reply from REHASH"))
  360.  
  361. (define-event youreservice-event :RPL_YOURESERVICE (event)
  362.     (message)
  363.     (:documentation "Sent upon successful registration of a service"))
  364.  
  365. (define-event time-event :RPL_TIME (event)
  366.     (server time-string &rest rest)
  367.     (:documentation "Response to the TIME command. The string format may vary greatly. Also see #679 ."))
  368.  
  369. (define-event usersstart-event :RPL_USERSSTART (event)
  370.     (message)
  371.     (:documentation "Start of an RPL_USERS list"))
  372.  
  373. (define-event users-event :RPL_USERS (event)
  374.     (message)
  375.     (:documentation "Response to the USERS command (See RFC)"))
  376.  
  377. (define-event endofusers-event :RPL_ENDOFUSERS (event)
  378.     (message)
  379.     (:documentation "Termination of an RPL_USERS list"))
  380.  
  381. (define-event nousers-event :RPL_NOUSERS (event)
  382.     (message)
  383.     (:documentation "Reply to USERS when nobody is logged in"))
  384.  
  385. (define-event unknownerror-event :ERR_UNKNOWNERROR (event)
  386.     (command &string message)
  387.     (:documentation "Sent when an error occured executing a command, but it is not specifically known why the command could not be executed."))
  388.  
  389. (define-event nosuchnick-event :ERR_NOSUCHNICK (event)
  390.     (nick reason)
  391.     (:documentation "Used to indicate the nickname parameter supplied to a command is currently unused"))
  392.  
  393. (define-event nosuchserver-event :ERR_NOSUCHSERVER (event)
  394.     (server reason)
  395.     (:documentation "Used to indicate the server name given currently doesn't exist"))
  396.  
  397. (define-event nosuchchannel-event :ERR_NOSUCHCHANNEL (event)
  398.     (channel reason)
  399.     (:documentation "Used to indicate the given channel name is invalid, or does not exist"))
  400.  
  401. (define-event cannotsendtochan-event :ERR_CANNOTSENDTOCHAN (event)
  402.     (channel reason)
  403.     (:documentation "Sent to a user who does not have the rights to send a message to a channel"))
  404.  
  405. (define-event toomanychannels-event :ERR_TOOMANYCHANNELS (event)
  406.     (channel reason)
  407.     (:documentation "Sent to a user when they have joined the maximum number of allowed channels and they tried to join another channel"))
  408.  
  409. (define-event wasnosuchnick-event :ERR_WASNOSUCHNICK (event)
  410.     (nick reason)
  411.     (:documentation "Returned by WHOWAS to indicate there was no history information for a given nickname"))
  412.  
  413. (define-event toomanytargets-event :ERR_TOOMANYTARGETS (event)
  414.     (target reason)
  415.     (:documentation "The given target(s) for a command are ambiguous in that they relate to too many targets"))
  416.  
  417. (define-event nosuchservice-event :ERR_NOSUCHSERVICE (event)
  418.     (service-name reason)
  419.     (:documentation "Returned to a client which is attempting to send an SQUERY (or other message) to a service which does not exist"))
  420.  
  421. (define-event noorigin-event :ERR_NOORIGIN (event)
  422.     (reason)
  423.     (:documentation "PING or PONG message missing the originator parameter which is required since these commands must work without valid prefixes"))
  424.  
  425. (define-event norecipient-event :ERR_NORECIPIENT (event)
  426.     (reason)
  427.     (:documentation "Returned when no recipient is given with a command"))
  428.  
  429. (define-event notexttosend-event :ERR_NOTEXTTOSEND (event)
  430.     (reason)
  431.     (:documentation "Returned when NOTICE/PRIVMSG is used with no message given"))
  432.  
  433. (define-event notoplevel-event :ERR_NOTOPLEVEL (event)
  434.     (mask reason)
  435.     (:documentation "Used when a message is being sent to a mask without being limited to a top-level domain (i.e. * instead of *.au)"))
  436.  
  437. (define-event wildtoplevel-event :ERR_WILDTOPLEVEL (event)
  438.     (mask reason)
  439.     (:documentation "Used when a message is being sent to a mask with a wild-card for a top level domain (i.e. *.*)"))
  440.  
  441. (define-event badmask-event :ERR_BADMASK (event)
  442.     (mask reason)
  443.     (:documentation "Used when a message is being sent to a mask with an invalid syntax"))
  444.  
  445. (define-event toomanymatches-event :ERR_TOOMANYMATCHES (event)
  446.     (command &optional mask message)
  447.     (:documentation "Returned when too many matches have been found for a command and the output has been truncated. An example would be the WHO command, where by the mask '*' would match everyone on the network! Ouch!"))
  448.  
  449. (define-event unknowncommand-event :ERR_UNKNOWNCOMMAND (event)
  450.     (command reason)
  451.     (:documentation "Returned when the given command is unknown to the server (or hidden because of lack of access rights)"))
  452.  
  453. (define-event nomotd-event :ERR_NOMOTD (event)
  454.     (reason)
  455.     (:documentation "Sent when there is no MOTD to send the client"))
  456.  
  457. (define-event noadmininfo-event :ERR_NOADMININFO (event)
  458.     (server reason)
  459.     (:documentation "Returned by a server in response to an ADMIN request when no information is available. RFC1459 mentions this in the list of numerics. While it's not listed as a valid reply in section 4.3.7 ('Admin command'), it's confirmed to exist in the real world."))
  460.  
  461. (define-event fileerror-event :ERR_FILEERROR (event)
  462.     (reason)
  463.     (:documentation "Generic error message used to report a failed file operation during the processing of a command"))
  464.  
  465. (define-event nonicknamegiven-event :ERR_NONICKNAMEGIVEN (event)
  466.     (reason)
  467.     (:documentation "Returned when a nickname parameter expected for a command isn't found"))
  468.  
  469. (define-event erroneusnickname-event :ERR_ERRONEUSNICKNAME (event)
  470.     (nick reason)
  471.     (:documentation "Returned after receiving a NICK message which contains a nickname which is considered invalid, such as it's reserved ('anonymous') or contains characters considered invalid for nicknames. This numeric is misspelt, but remains with this name for historical reasons :)"))
  472.  
  473. (define-event nicknameinuse-event :ERR_NICKNAMEINUSE (event)
  474.     (nick reason)
  475.     (:documentation "Returned by the NICK command when the given nickname is already in use"))
  476.  
  477. (define-event nickcollision-event :ERR_NICKCOLLISION (event)
  478.     (nick reason)
  479.     (:documentation "Returned by a server to a client when it detects a nickname collision"))
  480.  
  481. (define-event unavailresource-event :ERR_UNAVAILRESOURCE (event)
  482.     (resource reason)
  483.     (:documentation "Return when the target is unable to be reached temporarily, eg. a delay mechanism in play, or a service being offline"))
  484.  
  485. (define-event usernotinchannel-event :ERR_USERNOTINCHANNEL (event)
  486.     (nick channel reason)
  487.     (:documentation "Returned by the server to indicate that the target user of the command is not on the given channel"))
  488.  
  489. (define-event notonchannel-event :ERR_NOTONCHANNEL (event)
  490.     (channel reason)
  491.     (:documentation "Returned by the server whenever a client tries to perform a channel effecting command for which the client is not a member"))
  492.  
  493. (define-event useronchannel-event :ERR_USERONCHANNEL (event)
  494.     (nick channel &string reason)
  495.     (:documentation "Returned when a client tries to invite a user to a channel they're already on"))
  496.  
  497. (define-event nologin-event :ERR_NOLOGIN (event)
  498.     (user reason)
  499.     (:documentation "Returned by the SUMMON command if a given user was not logged in and could not be summoned"))
  500.  
  501. (define-event summondisabled-event :ERR_SUMMONDISABLED (event)
  502.     (reason)
  503.     (:documentation "Returned by SUMMON when it has been disabled or not implemented"))
  504.  
  505. (define-event usersdisabled-event :ERR_USERSDISABLED (event)
  506.     (reason)
  507.     (:documentation "Returned by USERS when it has been disabled or not implemented"))
  508.  
  509. (define-event notimplemented-event :ERR_NOTIMPLEMENTED (event)
  510.     (&rest rest)
  511.     (:documentation "Returned when a requested feature is not implemented (and cannot be completed)"))
  512.  
  513. (define-event notregistered-event :ERR_NOTREGISTERED (event)
  514.     (reason)
  515.     (:documentation "Returned by the server to indicate that the client must be registered before the server will allow it to be parsed in detail"))
  516.  
  517. (define-event needmoreparams-event :ERR_NEEDMOREPARAMS (event)
  518.     (command reason)
  519.     (:documentation "Returned by the server by any command which requires more parameters than the number of parameters given"))
  520.  
  521. (define-event alreadyregistered-event :ERR_ALREADYREGISTERED (event)
  522.     (reason)
  523.     (:documentation "Returned by the server to any link which attempts to register again"))
  524.  
  525. (define-event nopermforhost-event :ERR_NOPERMFORHOST (event)
  526.     (reason)
  527.     (:documentation "Returned to a client which attempts to register with a server which has been configured to refuse connections from the client's host"))
  528.  
  529. (define-event passwdmismatch-event :ERR_PASSWDMISMATCH (event)
  530.     (reason)
  531.     (:documentation "Returned by the PASS command to indicate the given password was required and was either not given or was incorrect"))
  532.  
  533. (define-event yourebannedcreep-event :ERR_YOUREBANNEDCREEP (event)
  534.     (reason)
  535.     (:documentation "Returned to a client after an attempt to register on a server configured to ban connections from that client"))
  536.  
  537. (define-event keyset-event :ERR_KEYSET (event)
  538.     (channel reason)
  539.     (:documentation "Returned when the channel key for a channel has already been set"))
  540.  
  541. (define-event channelisfull-event :ERR_CHANNELISFULL (event)
  542.     (channel reason)
  543.     (:documentation "Returned when attempting to join a channel which is set +l and is already full"))
  544.  
  545. (define-event unknownmode-event :ERR_UNKNOWNMODE (event)
  546.     (char reason)
  547.     (:documentation "Returned when a given mode is unknown"))
  548.  
  549. (define-event inviteonlychan-event :ERR_INVITEONLYCHAN (event)
  550.     (channel reason)
  551.     (:documentation "Returned when attempting to join a channel which is invite only without an invitation"))
  552.  
  553. (define-event bannedfromchan-event :ERR_BANNEDFROMCHAN (event)
  554.     (channel reason)
  555.     (:documentation "Returned when attempting to join a channel a user is banned from"))
  556.  
  557. (define-event badchannelkey-event :ERR_BADCHANNELKEY (event)
  558.     (channel reason)
  559.     (:documentation "Returned when attempting to join a key-locked channel either without a key or with the wrong key"))
  560.  
  561. (define-event badchanmask-event :ERR_BADCHANMASK (event)
  562.     (channel reason)
  563.     (:documentation "The given channel mask was invalid"))
  564.  
  565. (define-event nochanmodes-event :ERR_NOCHANMODES (event)
  566.     (channel reason)
  567.     (:documentation "Returned when attempting to set a mode on a channel which does not support channel modes, or channel mode changes. Also known as ERR_MODELESS"))
  568.  
  569. (define-event banlistfull-event :ERR_BANLISTFULL (event)
  570.     (channel char reason)
  571.     (:documentation "Returned when a channel access list (i.e. ban list etc) is full and cannot be added to"))
  572.  
  573. (define-event noprivileges-event :ERR_NOPRIVILEGES (event)
  574.     (reason)
  575.     (:documentation "Returned by any command requiring special privileges (eg. IRC operator) to indicate the operation was unsuccessful"))
  576.  
  577. (define-event chanoprivsneeded-event :ERR_CHANOPRIVSNEEDED (event)
  578.     (channel reason)
  579.     (:documentation "Returned by any command requiring special channel privileges (eg. channel operator) to indicate the operation was unsuccessful"))
  580.  
  581. (define-event cantkillserver-event :ERR_CANTKILLSERVER (event)
  582.     (reason)
  583.     (:documentation "Returned by KILL to anyone who tries to kill a server"))
  584.  
  585. (define-event restricted-event :ERR_RESTRICTED (event)
  586.     (reason)
  587.     (:documentation "Sent by the server to a user upon connection to indicate the restricted nature of the connection (i.e. usermode +r)"))
  588.  
  589. (define-event uniqoprivsneeded-event :ERR_UNIQOPRIVSNEEDED (event)
  590.     (reason)
  591.     (:documentation "Any mode requiring 'channel creator' privileges returns this error if the client is attempting to use it while not a channel creator on the given channel"))
  592.  
  593. (define-event nooperhost-event :ERR_NOOPERHOST (event)
  594.     (reason)
  595.     (:documentation "Returned by OPER to a client who cannot become an IRC operator because the server has been configured to disallow the client's host"))
  596.  
  597. (define-event umodeunknownflag-event :ERR_UMODEUNKNOWNFLAG (event)
  598.     (reason)
  599.     (:documentation "Returned by the server to indicate that a MODE message was sent with a nickname parameter and that the mode flag sent was not recognised"))
  600.  
  601. (define-event usersdontmatch-event :ERR_USERSDONTMATCH (event)
  602.     (reason)
  603.     (:documentation "Error sent to any user trying to view or change the user mode for a user other than themselves"))
  604.  
  605. (define-event vworldwarn-event :ERR_VWORLDWARN (event)
  606.     (warning-text)
  607.     (:documentation "Warning about Virtual-World being turned off. Obsoleted in favour for RPL_MODECHANGEWARN Also see #662 ."))
  608.  
  609. (define-event disabled-event :ERR_DISABLED (event)
  610.     (command reason)
  611.     (:documentation ""))
  612.  
  613. (define-event remotepfx-event :ERR_REMOTEPFX (event)
  614.     (nickname reason)
  615.     (:documentation "Proposed."))
  616.  
  617. (define-event pfxunroutable-event :ERR_PFXUNROUTABLE (event)
  618.     (nickname reason)
  619.     (:documentation "Proposed."))
  620.  
  621. (define-event traceroute-hop-event :RPL_TRACEROUTE_HOP (event)
  622.     (target hop &optional address hostname usec-ping)
  623.     (:documentation "Returned from the TRACEROUTE IRC-Op command when tracerouting a host"))
  624.  
  625. (define-event traceroute-start-event :RPL_TRACEROUTE_START (event)
  626.     (target target-fqdn target-address max-hops)
  627.     (:documentation "Start of an RPL_TRACEROUTE_HOP list"))
  628.  
  629. (define-event modechangewarn-event :RPL_MODECHANGEWARN (event)
  630.     (mode warning)
  631.     (:documentation "Plain text warning to the user about turning on or off a user mode. If no '+' or '-' prefix is used for the mode char, '+' is presumed."))
  632.  
  633. (define-event chanredir-event :RPL_CHANREDIR (event)
  634.     (old-chan new-chan message)
  635.     (:documentation "Used to notify the client upon JOIN that they are joining a different channel than expected because the IRC Daemon has been set up to map the channel they attempted to join to the channel they eventually will join."))
  636.  
  637. (define-event servmodeis-event :RPL_SERVMODEIS (event)
  638.     (server modes &rest parameters)
  639.     (:documentation "Reply to MODE <servername>. KineIRCd supports server modes to simplify configuration of servers; Similar to RPL_CHANNELMODEIS"))
  640.  
  641. (define-event otherumodeis-event :RPL_OTHERUMODEIS (event)
  642.     (nickname modes)
  643.     (:documentation "Reply to MODE <nickname> to return the user-modes of another user to help troubleshoot connections, etc. Similar to RPL_UMODEIS, however including the target"))
  644.  
  645. (define-event endof-generic-event :RPL_ENDOF_GENERIC (event)
  646.     (command &rest parameter)
  647.     (:documentation "Generic response for new lists to save numerics."))
  648.  
  649. (define-event whowasdetails-event :RPL_WHOWASDETAILS (event)
  650.     (nick type information)
  651.     (:documentation "Returned by WHOWAS to return extended information (if available). The type field is a number indication what kind of information."))
  652.  
  653. (define-event whoissecure-event :RPL_WHOISSECURE (event)
  654.     (nick type &optional message)
  655.     (:documentation "Reply to WHOIS command - Returned if the target is connected securely, eg. type may be TLSv1, or SSLv2 etc. If the type is unknown, a '*' may be used."))
  656.  
  657. (define-event unknownmodes-event :RPL_UNKNOWNMODES (event)
  658.     (modes message)
  659.     (:documentation "Returns a full list of modes that are unknown when a client issues a MODE command (rather than one numeric per mode)"))
  660.  
  661. (define-event cannotsetmodes-event :RPL_CANNOTSETMODES (event)
  662.     (modes message)
  663.     (:documentation "Returns a full list of modes that cannot be set when a client issues a MODE command"))
  664.  
  665. (define-event luserstaff-event :RPL_LUSERSTAFF (event)
  666.     (staff-online-count message)
  667.     (:documentation "Reply to LUSERS command - Number of network staff (or 'helpers') online (differs from Local/Global operators). Similar format to RPL_LUSEROP"))
  668.  
  669. (define-event timeonserveris-event :RPL_TIMEONSERVERIS (event)
  670.     (seconds nanoseconds timezone flags message)
  671.     (:documentation "Optionally sent upon connection, and/or sent as a reply to the TIME command. This returns the time on the server in a uniform manner. The seconds (and optionally nanoseconds) is the time since the UNIX Epoch, and is used since many existing timestamps in the IRC-2 protocol are done this way (i.e. ban lists). The timezone is hours and minutes each of Greenwich ('[+/-]HHMM'). Since all timestamps sent from the server are in a similar format, this numeric is designed to give clients the ability to provide accurate timestamps to their users."))
  672.  
  673. (define-event networks-event :RPL_NETWORKS (event)
  674.     (name through-name hops message)
  675.     (:documentation "A reply to the NETWORKS command when requesting a list of known networks (within the IIRC domain)."))
  676.  
  677. (define-event yourlanguageis-event :RPL_YOURLANGUAGEIS (event)
  678.     (code message)
  679.     (:documentation "Reply to the LANGUAGE command, informing the client of the language(s) it has set"))
  680.  
  681. (define-event language-event :RPL_LANGUAGE (event)
  682.     (code revision maintainer flags * message)
  683.     (:documentation "A language reply to LANGUAGE when requesting a list of known languages"))
  684.  
  685. (define-event whoisstaff-event :RPL_WHOISSTAFF (event)
  686.     (message)
  687.     (:documentation "The user is a staff member. The information may explain the user's job role, or simply state that they are a part of the network staff. Staff members are not IRC operators, but rather people who have special access in association with network services. KineIRCd uses this numeric instead of the existing numerics due to the overwhelming number of conflicts."))
  688.  
  689. (define-event whoislanguage-event :RPL_WHOISLANGUAGE (event)
  690.     (nick language codes)
  691.     (:documentation "Reply to WHOIS command - A list of languages someone can speak. The language codes are comma delimitered."))
  692.  
  693. (define-event modlist-event :RPL_MODLIST (event)
  694.     (&rest rest)
  695.     (:documentation "Output from the MODLIST command"))
  696.  
  697. (define-event endofmodlist-event :RPL_ENDOFMODLIST (event)
  698.     (message)
  699.     (:documentation "Terminates MODLIST output"))
  700.  
  701. (define-event helpstart-event :RPL_HELPSTART (event)
  702.     (command message)
  703.     (:documentation "Start of HELP command output"))
  704.  
  705. (define-event helptxt-event :RPL_HELPTXT (event)
  706.     (command message)
  707.     (:documentation "Output from HELP command"))
  708.  
  709. (define-event endofhelp-event :RPL_ENDOFHELP (event)
  710.     (command message)
  711.     (:documentation "End of HELP command output"))
  712.  
  713. (define-event etracefull-event :RPL_ETRACEFULL (event)
  714.     (&rest rest)
  715.     (:documentation "Output from 'extended' trace"))
  716.  
  717. (define-event etrace-event :RPL_ETRACE (event)
  718.     (&rest rest)
  719.     (:documentation "Output from 'extended' trace"))
  720.  
  721. (define-event knock-event :RPL_KNOCK (event)
  722.     (channel user message)
  723.     (:documentation "Message delivered using KNOCK command"))
  724.  
  725. (define-event knockdlvr-event :RPL_KNOCKDLVR (event)
  726.     (channel message)
  727.     (:documentation "Message returned from using KNOCK command"))
  728.  
  729. (define-event toomanyknock-event :ERR_TOOMANYKNOCK (event)
  730.     (channel message)
  731.     (:documentation "Message returned when too many KNOCKs for a channel have been sent by a user"))
  732.  
  733. (define-event chanopen-event :ERR_CHANOPEN (event)
  734.     (channel message)
  735.     (:documentation "Message returned from KNOCK when the channel can be freely joined by the user"))
  736.  
  737. (define-event knockonchan-event :ERR_KNOCKONCHAN (event)
  738.     (channel message)
  739.     (:documentation "Message returned from KNOCK when the user has used KNOCK on a channel they have already joined"))
  740.  
  741. (define-event knockdisabled-event :ERR_KNOCKDISABLED (event)
  742.     (message)
  743.     (:documentation "Returned from KNOCK when the command has been disabled"))
  744.  
  745. (define-event targumodeg-event :RPL_TARGUMODEG (event)
  746.     (nick message)
  747.     (:documentation "Sent to indicate the given target is set +g (server-side ignore)"))
  748.  
  749. (define-event targnotify-event :RPL_TARGNOTIFY (event)
  750.     (nick message)
  751.     (:documentation "Sent following a PRIVMSG/NOTICE to indicate the target has been notified of an attempt to talk to them while they are set +g"))
  752.  
  753. (define-event umodegmsg-event :RPL_UMODEGMSG (event)
  754.     (nick user message)
  755.     (:documentation "Sent to a user who is +g to inform them that someone has attempted to talk to them (via PRIVMSG/NOTICE), and that they will need to be accepted (via the ACCEPT command) before being able to talk to them"))
  756.  
  757. (define-event omotdstart-event :RPL_OMOTDSTART (event)
  758.     (message)
  759.     (:documentation "IRC Operator MOTD header, sent upon OPER command"))
  760.  
  761. (define-event omotd-event :RPL_OMOTD (event)
  762.     (message)
  763.     (:documentation "IRC Operator MOTD text (repeated, usually)"))
  764.  
  765. (define-event endofomotd-event :RPL_ENDOFOMOTD (event)
  766.     (message)
  767.     (:documentation "IRC operator MOTD footer"))
  768.  
  769. (define-event noprivs-event :ERR_NOPRIVS (event)
  770.     (command message)
  771.     (:documentation "Returned from an oper command when the IRC operator does not have the relevant operator privileges."))
  772.  
  773. (define-event testmark-event :RPL_TESTMARK (event)
  774.     (user NIL NIL message)
  775.     (:documentation "Reply from an oper command reporting how many users match a given user@host mask"))
  776.  
  777. (define-event testline-event :RPL_TESTLINE (event)
  778.     (&rest rest)
  779.     (:documentation "Reply from an oper command reporting relevant I/K lines that will match a given user@host"))
  780.  
  781. (define-event notestline-event :RPL_NOTESTLINE (event)
  782.     (NIL message)
  783.     (:documentation "Reply from oper command reporting no I/K lines match the given user@host"))
  784.  
  785. (define-event cannotchangeumode-event :ERR_CANNOTCHANGEUMODE (event)
  786.     (mode-char reason)
  787.     (:documentation "Reply to MODE when a user cannot change a user mode"))
  788.  
  789. (define-event cannotchangechanmode-event :ERR_CANNOTCHANGECHANMODE (event)
  790.     (mode-char reason)
  791.     (:documentation "Reply to MODE when a user cannot change a channel mode"))
  792.  
  793. (define-event cannotchangeservermode-event :ERR_CANNOTCHANGESERVERMODE (event)
  794.     (mode-char reason)
  795.     (:documentation "Reply to MODE when a user cannot change a server mode"))
  796.  
  797. (define-event cannotsendtonick-event :ERR_CANNOTSENDTONICK (event)
  798.     (nick reason)
  799.     (:documentation "Returned from NOTICE, PRIVMSG or other commands to notify the user that they cannot send a message to a particular client. Similar to ERR_CANNOTSENDTOCHAN. KineIRCd uses this in conjunction with user-mode +R to allow users to block people who are not identified to services (spam avoidance)"))
  800.  
  801. (define-event unknownservermode-event :ERR_UNKNOWNSERVERMODE (event)
  802.     (modechar message)
  803.     (:documentation "Returned by MODE to inform the client they used an unknown server mode character."))
  804.  
  805. (define-event servermodelock-event :ERR_SERVERMODELOCK (event)
  806.     (target message)
  807.     (:documentation "Returned by MODE to inform the client the server has been set mode +L by an administrator to stop server modes being changed"))
  808.  
  809. (define-event badcharencoding-event :ERR_BADCHARENCODING (event)
  810.     (command charset message)
  811.     (:documentation "Returned by any command which may have had the given data modified because one or more glyphs were incorrectly encoded in the current charset (given). Such a use would be where an invalid UTF-8 sequence was given which may be considered insecure, or defines a character which is invalid within that context. For safety reasons, the invalid character is not returned to the client."))
  812.  
  813. (define-event toomanylanguages-event :ERR_TOOMANYLANGUAGES (event)
  814.     (max-langs message)
  815.     (:documentation "Returned by the LANGUAGE command to tell the client they cannot set as many languages as they have requested. To assist the client, the maximum languages which can be set at one time is given, and the language settings are not changed."))
  816.  
  817. (define-event nolanguage-event :ERR_NOLANGUAGE (event)
  818.     (language-code message)
  819.     (:documentation "Returned by the LANGUAGE command to tell the client it has specified an unknown language code."))
  820.  
  821. (define-event texttooshort-event :ERR_TEXTTOOSHORT (event)
  822.     (command message)
  823.     (:documentation "Returned by any command requiring text (such as a message or a reason), which was not long enough to be considered valid. This was created initially to combat '/wallops foo' abuse, but is also used by DIE and RESTART commands to attempt to encourage meaningful reasons."))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement