Erebot  latest
A modular IRC bot for PHP 5.3+
Irc2.php
1 <?php
2 /*
3  This file is part of Erebot, a modular IRC bot written in PHP.
4 
5  Copyright © 2010 François Poirotte
6 
7  Erebot is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  Erebot is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with Erebot. If not, see <http://www.gnu.org/licenses/>.
19 */
20 
21 namespace Erebot\NumericProfile;
22 
28 {
30  const RPL_WELCOME = 1;
31 
33  const RPL_YOURHOST = 2;
34 
36  const RPL_CREATED = 3;
37 
39  const RPL_MYINFO = 4;
40 
42  const RPL_ISUPPORT = 5;
43 
45  const RPL_BOUNCE = 10;
46 
48  const RPL_MAP = 15;
49 
51  const RPL_MAPEND = 17;
52 
54  const RPL_MAPSTART = 18;
55 
57  const RPL_HELLO = 20;
58 
60  const RPL_YOURID = 42;
61 
63  const RPL_SAVENICK = 43;
64 
66  const ERR_NOSUCHNICK = 401;
67 
69  const ERR_NOSUCHSERVER = 402;
70 
72  const ERR_NOSUCHCHANNEL = 403;
73 
75  const ERR_CANNOTSENDTOCHAN = 404;
76 
78  const ERR_TOOMANYCHANNELS = 405;
79 
81  const ERR_WASNOSUCHNICK = 406;
82 
84  const ERR_TOOMANYTARGETS = 407;
85 
87  const ERR_NOSUCHSERVICE = 408;
88 
90  const ERR_NOORIGIN = 409;
91 
93  const ERR_NORECIPIENT = 411;
94 
96  const ERR_NOTEXTTOSEND = 412;
97 
99  const ERR_NOTOPLEVEL = 413;
100 
102  const ERR_WILDTOPLEVEL = 414;
103 
105  const ERR_BADMASK = 415;
106 
108  const ERR_TOOMANYMATCHES = 416;
109 
111  const ERR_UNKNOWNCOMMAND = 421;
112 
114  const ERR_NOMOTD = 422;
115 
117  const ERR_NOADMININFO = 423;
118 
120  const ERR_FILEERROR = 424;
121 
123  const ERR_NONICKNAMEGIVEN = 431;
124 
127 
129  const ERR_NICKNAMEINUSE = 433;
130 
132  const ERR_SERVICENAMEINUSE = 434;
133 
135  const ERR_SERVICECONFUSED = 435;
136 
138  const ERR_NICKCOLLISION = 436;
139 
141  const ERR_UNAVAILRESOURCE = 437;
142 
144  const ERR_USERNOTINCHANNEL = 441;
145 
147  const ERR_NOTONCHANNEL = 442;
148 
150  const ERR_USERONCHANNEL = 443;
151 
153  const ERR_NOLOGIN = 444;
154 
156  const ERR_SUMMONDISABLED = 445;
157 
159  const ERR_USERSDISABLED = 446;
160 
162  const ERR_NOTREGISTERED = 451;
163 
165  const ERR_NEEDMOREPARAMS = 461;
166 
168  const ERR_ALREADYREGISTRED = 462;
169 
171  const ERR_NOPERMFORHOST = 463;
172 
174  const ERR_PASSWDMISMATCH = 464;
175 
177  const ERR_YOUREBANNEDCREEP = 465;
178 
180  const ERR_YOUWILLBEBANNED = 466;
181 
183  const ERR_KEYSET = 467;
184 
186  const ERR_CHANNELISFULL = 471;
187 
189  const ERR_UNKNOWNMODE = 472;
190 
192  const ERR_INVITEONLYCHAN = 473;
193 
195  const ERR_BANNEDFROMCHAN = 474;
196 
198  const ERR_BADCHANNELKEY = 475;
199 
201  const ERR_BADCHANMASK = 476;
202 
204  const ERR_NOCHANMODES = 477;
205 
207  const ERR_BANLISTFULL = 478;
208 
210  const ERR_NOPRIVILEGES = 481;
211 
213  const ERR_CHANOPRIVSNEEDED = 482;
214 
216  const ERR_CANTKILLSERVER = 483;
217 
219  const ERR_RESTRICTED = 484;
220 
222  const ERR_UNIQOPRIVSNEEDED = 485;
223 
225  const ERR_NOOPERHOST = 491;
226 
228  const ERR_NOSERVICEHOST = 492;
229 
231  const ERR_STATSKLINE = 499;
232 
234  const ERR_UMODEUNKNOWNFLAG = 501;
235 
237  const ERR_USERSDONTMATCH = 502;
238 
240  const RPL_NONE = 300;
241 
243  const RPL_AWAY = 301;
244 
246  const RPL_USERHOST = 302;
247 
249  const RPL_ISON = 303;
250 
252  const RPL_TEXT = 304;
253 
255  const RPL_UNAWAY = 305;
256 
258  const RPL_NOWAWAY = 306;
259 
261  const RPL_WHOISUSER = 311;
262 
264  const RPL_WHOISSERVER = 312;
265 
267  const RPL_WHOISOPERATOR = 313;
268 
270  const RPL_WHOWASUSER = 314;
271 
273  const RPL_ENDOFWHOWAS = 369;
274 
276  const RPL_WHOISCHANOP = 316;
277 
279  const RPL_WHOISIDLE = 317;
280 
282  const RPL_ENDOFWHOIS = 318;
283 
285  const RPL_WHOISCHANNELS = 319;
286 
288  const RPL_LISTSTART = 321;
289 
291  const RPL_LIST = 322;
292 
294  const RPL_LISTEND = 323;
295 
297  const RPL_CHANNELMODEIS = 324;
298 
300  const RPL_UNIQOPIS = 325;
301 
303  const RPL_NOTOPIC = 331;
304 
306  const RPL_TOPIC = 332;
307 
309  const RPL_TOPIC_WHO_TIME = 333;
310 
312  const RPL_INVITING = 341;
313 
315  const RPL_SUMMONING = 342;
316 
318  const RPL_REOPLIST = 344;
319 
321  const RPL_ENDOFREOPLIST = 345;
322 
324  const RPL_INVITELIST = 346;
325 
327  const RPL_ENDOFINVITELIST = 347;
328 
330  const RPL_EXCEPTLIST = 348;
331 
333  const RPL_ENDOFEXCEPTLIST = 349;
334 
336  const RPL_VERSION = 351;
337 
339  const RPL_WHOREPLY = 352;
340 
342  const RPL_ENDOFWHO = 315;
343 
345  const RPL_NAMREPLY = 353;
346 
348  const RPL_ENDOFNAMES = 366;
349 
351  const RPL_KILLDONE = 361;
352 
354  const RPL_CLOSING = 362;
355 
357  const RPL_CLOSEEND = 363;
358 
360  const RPL_LINKS = 364;
361 
363  const RPL_ENDOFLINKS = 365;
364 
366  const RPL_BANLIST = 367;
367 
369  const RPL_ENDOFBANLIST = 368;
370 
372  const RPL_INFO = 371;
373 
375  const RPL_MOTD = 372;
376 
378  const RPL_INFOSTART = 373;
379 
381  const RPL_ENDOFINFO = 374;
382 
384  const RPL_MOTDSTART = 375;
385 
387  const RPL_ENDOFMOTD = 376;
388 
390  const RPL_YOUREOPER = 381;
391 
393  const RPL_REHASHING = 382;
394 
396  const RPL_YOURESERVICE = 383;
397 
399  const RPL_MYPORTIS = 384;
400 
402  const RPL_NOTOPERANYMORE = 385;
403 
405  const RPL_TIME = 391;
406 
408  const RPL_USERSSTART = 392;
409 
411  const RPL_USERS = 393;
412 
414  const RPL_ENDOFUSERS = 394;
415 
417  const RPL_NOUSERS = 395;
418 
420  const RPL_TRACELINK = 200;
421 
423  const RPL_TRACECONNECTING = 201;
424 
426  const RPL_TRACEHANDSHAKE = 202;
427 
429  const RPL_TRACEUNKNOWN = 203;
430 
432  const RPL_TRACEOPERATOR = 204;
433 
435  const RPL_TRACEUSER = 205;
436 
438  const RPL_TRACESERVER = 206;
439 
441  const RPL_TRACESERVICE = 207;
442 
444  const RPL_TRACENEWTYPE = 208;
445 
447  const RPL_TRACECLASS = 209;
448 
450  const RPL_STATSLINKINFO = 211;
451 
453  const RPL_STATSCOMMANDS = 212;
454 
456  const RPL_STATSCLINE = 213;
457 
459  const RPL_STATSNLINE = 214;
460 
462  const RPL_STATSILINE = 215;
463 
465  const RPL_STATSKLINE = 216;
466 
468  const RPL_STATSQLINE = 217;
469 
471  const RPL_STATSYLINE = 218;
472 
474  const RPL_ENDOFSTATS = 219;
475 
477  const RPL_UMODEIS = 221;
478 
480  const RPL_SERVICEINFO = 231;
481 
483  const RPL_ENDOFSERVICES = 232;
484 
486  const RPL_SERVICE = 233;
487 
489  const RPL_SERVLIST = 234;
490 
492  const RPL_SERVLISTEND = 235;
493 
495  const RPL_STATSIAUTH = 239;
496 
498  const RPL_STATSVLINE = 240;
499 
501  const RPL_STATSLLINE = 241;
502 
504  const RPL_STATSUPTIME = 242;
505 
507  const RPL_STATSOLINE = 243;
508 
510  const RPL_STATSHLINE = 244;
511 
513  const RPL_STATSSLINE = 245;
514 
516  const RPL_STATSPING = 246;
517 
519  const RPL_STATSBLINE = 247;
520 
522  const RPL_STATSDEFINE = 248;
523 
525  const RPL_STATSDEBUG = 249;
526 
528  const RPL_STATSDLINE = 250;
529 
531  const RPL_LUSERCLIENT = 251;
532 
534  const RPL_LUSEROP = 252;
535 
537  const RPL_LUSERUNKNOWN = 253;
538 
540  const RPL_LUSERCHANNELS = 254;
541 
543  const RPL_LUSERME = 255;
544 
546  const RPL_ADMINME = 256;
547 
549  const RPL_ADMINLOC1 = 257;
550 
552  const RPL_ADMINLOC2 = 258;
553 
555  const RPL_ADMINEMAIL = 259;
556 
558  const RPL_TRACEEND = 262;
559 
561  const RPL_TRYAGAIN = 263;
562 
564  const RPL_LOCALUSERS = 265;
565 
567  const RPL_GLOBALUSERS = 266;
568 
570  const RPL_ETRACEFULL = 708;
571 
573  const RPL_ETRACEEND = 759;
574 }
const RPL_ADMINEMAIL
Returned as the last numeric in response to an ADMIN message, giving an email where the server&#39;s admi...
Definition: Irc2.php:555
const RPL_STATSNLINE
This numeric is used for every entry configured through N-lines (accept connection).
Definition: Irc2.php:459
const ERR_NOTREGISTERED
Returned by the server to indicate that the client must be registered before the server will allow it...
Definition: Irc2.php:162
const ERR_CHANNELISFULL
Returned when trying to JOIN a channel for which a limit has been set and reached.
Definition: Irc2.php:186
const RPL_CHANNELMODEIS
Sent in response to a MODE command or upon joining an IRC channel, containing the modes that are in e...
Definition: Irc2.php:297
const RPL_YOURESERVICE
Sent by the server to a service upon successful registration.
Definition: Irc2.php:396
const RPL_WHOISOPERATOR
Sent in response to a WHOIS, indicating that the target user is an IRC operator.
Definition: Irc2.php:267
const ERR_NOOPERHOST
If a client sends an OPER message and the server has not been configured to allow connections from th...
Definition: Irc2.php:225
const ERR_NOORIGIN
PING or PONG message missing the originator parameter.
Definition: Irc2.php:90
const ERR_NOSUCHSERVICE
Returned to a client which is attempting to send a SQUERY to a service which does not exist...
Definition: Irc2.php:87
const ERR_NOSUCHCHANNEL
Used to indicate the given channel name is invalid.
Definition: Irc2.php:72
const ERR_NOSUCHNICK
Used to indicate the nickname parameter supplied to a command is currently unused.
Definition: Irc2.php:66
const RPL_SERVICEINFO
Unused numeric.
Definition: Irc2.php:480
const RPL_UNIQOPIS
This numeric is used to indicate the creator of a local IRC channel.
Definition: Irc2.php:300
const ERR_YOUREBANNEDCREEP
Returned after an attempt to connect and register yourself with a server which has been setup to expl...
Definition: Irc2.php:177
const RPL_SERVICE
Unused numeric.
Definition: Irc2.php:486
Abstract class that serves as a base to create a numeric profile for an IRCd server.
Definition: Base.php:33
const RPL_TRACEOPERATOR
Used when tracing connections to give information on IRC operators.
Definition: Irc2.php:432
const RPL_STATSOLINE
This numeric is used for every entry configured through O-lines (oper).
Definition: Irc2.php:507
const RPL_STATSVLINE
This numeric is used for every entry configured through V-lines (deny version).
Definition: Irc2.php:498
const ERR_WASNOSUCHNICK
Returned by WHOWAS to indicate there is no history information for that nickname. ...
Definition: Irc2.php:81
const RPL_MAPEND
Marks the end of the network&#39;s map.
Definition: Irc2.php:51
const RPL_STATSKLINE
This numeric is used for every entry configured through K-lines (ban user).
Definition: Irc2.php:465
const RPL_BOUNCE
Sent during connection to point the connecting user to another server that may be used to reduce lag...
Definition: Irc2.php:45
const ERR_TOOMANYCHANNELS
Sent to a user when they have joined the maximum number of allowed channels and they try to join anot...
Definition: Irc2.php:78
const RPL_INVITING
Returned by the server to indicate that the attempted INVITE message was successful and is being pass...
Definition: Irc2.php:312
const RPL_WHOWASUSER
Sent in response to a WHOWAS, giving information on the target user.
Definition: Irc2.php:270
const ERR_NOPERMFORHOST
Returned to a client which attempts to register with a server which does not been setup to allow conn...
Definition: Irc2.php:171
const ERR_TOOMANYMATCHES
Returned by a server in response to a LIST or NAMES message to indicate the result contains too many ...
Definition: Irc2.php:108
const RPL_TRACECLASS
Used when tracing connections to give information on a class of connections.
Definition: Irc2.php:447
const RPL_ENDOFINVITELIST
Marks the end of the invite list.
Definition: Irc2.php:327
const RPL_MAP
Sent as a response to a MAP command, with information on the network&#39;s map.
Definition: Irc2.php:48
const RPL_ISUPPORT
Gives information of the specific commands/options supported by the server.
Definition: Irc2.php:42
const RPL_LISTSTART
Obsolete numeric used to mark the beginning of a reply to a LIST command.
Definition: Irc2.php:288
const RPL_STATSILINE
This numeric is used for every entry configured through I-lines (allow).
Definition: Irc2.php:462
const RPL_ENDOFWHOIS
The RPL_ENDOFWHOIS reply is used to mark the end of processing a WHOIS message.
Definition: Irc2.php:282
const ERR_BADCHANNELKEY
Returned when trying to JOIN a channel for which a key was set and was either not given or incorrect...
Definition: Irc2.php:198
const RPL_LUSEROP
Sent in response to a LUSERS message to indicate how many IRC operators are currently connected...
Definition: Irc2.php:534
const RPL_TIME
When replying to the TIME message, a server MUST send the reply using the RPL_TIME format below...
Definition: Irc2.php:405
const RPL_TRACEUNKNOWN
Used when tracing connections which have not been fully established and are unknown.
Definition: Irc2.php:429
const ERR_NOSUCHSERVER
Used to indicate the server name given currently doesn&#39;t exist.
Definition: Irc2.php:69
const RPL_AWAY
RPL_AWAY is sent to any client sending a PRIVMSG to a client which is away.
Definition: Irc2.php:243
const RPL_TRACESERVER
Used when tracing connections to give information on IRC servers.
Definition: Irc2.php:438
const RPL_CREATED
Last time the IRC server was restarted.
Definition: Irc2.php:36
const RPL_NOWAWAY
Sent when the client sets an AWAY message.
Definition: Irc2.php:258
const ERR_NOTEXTTOSEND
Sent when a command did not receive any text when it was expecting some.
Definition: Irc2.php:96
const RPL_ISON
Reply format used by ISON to list replies to the query list.
Definition: Irc2.php:249
const RPL_WHOISSERVER
Sent in response to a WHOIS or WHOWAS, indicating the IRC server the target user was connected to...
Definition: Irc2.php:264
const ERR_USERONCHANNEL
Returned when a client tries to invite a user to a channel they are already on.
Definition: Irc2.php:150
const ERR_CANTKILLSERVER
Any attempts to use the KILL command on a server will be refused and this error returned directly to ...
Definition: Irc2.php:216
const RPL_LIST
Sent in response to a LIST command, contains the actual response data.
Definition: Irc2.php:291
Numeric profile for irc2-based IRC servers.
Definition: Irc2.php:27
const RPL_ENDOFWHO
Marks the end of the results to a WHO.
Definition: Irc2.php:342
const ERR_NOTOPLEVEL
Returned when an invalid use of "PRIVMSG $<server>" or "PRIVMSG #<host>" is attempted (when it doesn&#39;...
Definition: Irc2.php:99
const RPL_STATSLINKINFO
Reports statistics on a connection.
Definition: Irc2.php:450
const ERR_TOOMANYTARGETS
Used when several targets match the given parameters for a command.
Definition: Irc2.php:84
const RPL_WELCOME
First numeric sent to a client after its connection (welcome message).
Definition: Irc2.php:30
const ERR_NOLOGIN
Returned by the summon after a SUMMON command for a user was unable to be performed since they were n...
Definition: Irc2.php:153
const RPL_TRACELINK
RPL_TRACELINK is sent by any server which handles a TRACE message and has to pass it on to another se...
Definition: Irc2.php:420
const ERR_SUMMONDISABLED
Returned by any server which does not support the SUMMON command, either because it was not implement...
Definition: Irc2.php:156
const ERR_YOUWILLBEBANNED
Sent by a server to a user to inform him/her that access to the server will soon be denied...
Definition: Irc2.php:180
const RPL_STATSLLINE
This numeric is used for every entry configured through L-lines (leaf).
Definition: Irc2.php:501
const ERR_NOCHANMODES
Returned when attempting to set modes on a channel which does not support modes.
Definition: Irc2.php:204
const ERR_ALREADYREGISTRED
Returned by the server to any link which tries to change part of the registered details (such as pass...
Definition: Irc2.php:168
const RPL_LUSERME
In processing an LUSERS message, the server sends this numeric to indicate how many clients and serve...
Definition: Irc2.php:543
const RPL_ADMINLOC2
Returned in response to an ADMIN message, usually giving information on the institution hosting the s...
Definition: Irc2.php:552
const RPL_TRACESERVICE
Used when tracing connections to give information on IRC services.
Definition: Irc2.php:441
const ERR_NOTONCHANNEL
Returned by the server whenever a client tries to perform a channel affecting command for which the c...
Definition: Irc2.php:147
const ERR_KEYSET
Sent when attempting to set a key for a channel which already has one.
Definition: Irc2.php:183
const ERR_CHANOPRIVSNEEDED
Any command requiring &#39;chanop&#39; privileges (such as MODE messages) will return this error if the clien...
Definition: Irc2.php:213
const ERR_FILEERROR
Generic error message used to report a failed file operation during the processing of a message...
Definition: Irc2.php:120
const RPL_YOURHOST
Gives the name/version of the server we&#39;re connected to.
Definition: Irc2.php:33
const ERR_USERSDISABLED
Returned by any server which does not support the USERS command, either because it was not implemente...
Definition: Irc2.php:159
const RPL_ENDOFLINKS
Marks the end of the links for this server.
Definition: Irc2.php:363
const RPL_NAMREPLY
This numeric is used in response to a NAMES command or upon joining a channel and contains the nickna...
Definition: Irc2.php:345
const RPL_EXCEPTLIST
Sent by the server in response to a MODE #channel +e command for every entry currently in the ban exc...
Definition: Irc2.php:330
const RPL_TRACEEND
RPL_TRACEEND is sent to indicate the end of the list of replies to a TRACE command.
Definition: Irc2.php:558
const RPL_UNAWAY
Sent went the client removes an AWAY message.
Definition: Irc2.php:255
const RPL_MYINFO
Supported user and channel modes.
Definition: Irc2.php:39
const RPL_SERVLISTEND
Marks the end of the list of services, sent in response to a SERVLIST message.
Definition: Irc2.php:492
const ERR_NOPRIVILEGES
Any command requiring operator privileges to operate will return this error to indicate the attempt w...
Definition: Irc2.php:210
const RPL_ENDOFWHOWAS
Sent in response to a WHOWAS, marks the end of the WHOWAS message processing.
Definition: Irc2.php:273
const RPL_TRACECONNECTING
Used when tracing connections which have not been fully established and are still attempting to conne...
Definition: Irc2.php:423
const RPL_SUMMONING
Returned by a server answering a SUMMON message to indicate that it is summoning that user...
Definition: Irc2.php:315
const RPL_LUSERCLIENT
In processing an LUSERS message, the server sends this numeric to indicate how many clients and serve...
Definition: Irc2.php:531
const ERR_NOSERVICEHOST
This numeric is not used anymore.
Definition: Irc2.php:228
const ERR_BANLISTFULL
Returned when attempting to add a ban on a channel for which the banlist is already full...
Definition: Irc2.php:207
const RPL_ENDOFSTATS
Marks the end of the STATS report.
Definition: Irc2.php:474
const RPL_SERVLIST
When listing services in reply to a SERVLIST message, a separate RPL_SERVLIST is sent for each servic...
Definition: Irc2.php:489
const ERR_USERSDONTMATCH
Error sent to any user trying to view or change the user mode for a user other than themselves...
Definition: Irc2.php:237
const ERR_CANNOTSENDTOCHAN
Sent by the server when attempting to send a PRIVMSG on a channel when you&#39;re not allowed to do so...
Definition: Irc2.php:75
const RPL_STATSBLINE
This numeric is used for every entry configured through B-lines (bounces).
Definition: Irc2.php:519
const RPL_STATSCOMMANDS
Reports statistics on commands usage.
Definition: Irc2.php:453
const ERR_NICKCOLLISION
Returned by a server to a client when it detects a nickname collision (registered of a NICK that alre...
Definition: Irc2.php:138
const RPL_STATSUPTIME
Reports the server uptime.
Definition: Irc2.php:504
const RPL_ENDOFEXCEPTLIST
Marks the end of the exception list for a channel.
Definition: Irc2.php:333
const ERR_RESTRICTED
Sent by the server to a user upon connection to indicate the restricted nature of the connection (use...
Definition: Irc2.php:219
const RPL_WHOISCHANOP
Redundant and not needed but reserved.
Definition: Irc2.php:276
const RPL_STATSDLINE
This numeric is used for every entry configured through D-lines (deny link).
Definition: Irc2.php:528
const RPL_KILLDONE
Unused numeric.
Definition: Irc2.php:351
const RPL_LUSERUNKNOWN
Sent in response to a LUSERS message to indicate how many unknown connections there are...
Definition: Irc2.php:537
const RPL_USERHOST
Reply format used by USERHOST to list replies to the query list.
Definition: Irc2.php:246
const RPL_YOURID
Sent on connect by some IRC servers to notify the newly-connected user about his unique user ID...
Definition: Irc2.php:60
const RPL_LINKS
Sent in response to a LINKS command for every server currently linked to this one that matches a give...
Definition: Irc2.php:360
const RPL_REHASHING
If the REHASH option is used and an operator sends a REHASH message, an RPL_REHASHING is sent back to...
Definition: Irc2.php:393
const RPL_TRACEHANDSHAKE
Used when tracing connections which have not been fully established and are in the process of complet...
Definition: Irc2.php:426
const RPL_INVITELIST
The numeric is sent for every entry on the invite list for a channel when the invite list has been re...
Definition: Irc2.php:324
const ERR_BANNEDFROMCHAN
Returned when trying to JOIN a channel from which you&#39;ve been banned.
Definition: Irc2.php:195
const RPL_ADMINME
Returned as the first numeric in response to an ADMIN message.
Definition: Irc2.php:546
const RPL_TRACENEWTYPE
RPL_TRACENEWTYPE is to be used for any connection which does not fit in the other categories but is b...
Definition: Irc2.php:444
const ERR_NOADMININFO
Returned by a server in response to an ADMIN message when there is an error in finding the appropriat...
Definition: Irc2.php:117
const ERR_NORECIPIENT
Used to indicate a recipient was expected for the given command.
Definition: Irc2.php:93
const RPL_WHOISCHANNELS
Sent in response to a WHOIS, listing the public channels the target user is on.
Definition: Irc2.php:285
const RPL_STATSYLINE
This numeric is used for every entry configured through Y-lines (class).
Definition: Irc2.php:471
const ERR_BADMASK
Returned when an invalid mask was passed to "PRIVMSG $<server>" or "PRIVMSG #<host>".
Definition: Irc2.php:105
const RPL_TOPIC
Sent when joining a channel or issuing a TOPIC command; contains the current topic.
Definition: Irc2.php:306
const ERR_BADCHANMASK
This numeric is sent back to you if you specify an invalid mask for a channel.
Definition: Irc2.php:201
const ERR_NOMOTD
Server&#39;s MOTD file could not be opened by the server.
Definition: Irc2.php:114
const RPL_NOTOPIC
Sent when joining a channel or issuing a TOPIC command and no topic has been set yet.
Definition: Irc2.php:303
const RPL_ENDOFSERVICES
Unused numeric.
Definition: Irc2.php:483
const RPL_STATSQLINE
This numeric is used for every entry configured through Q-lines (ban nick).
Definition: Irc2.php:468
const RPL_UMODEIS
To answer a query about a client&#39;s own mode, RPL_UMODEIS is sent back.
Definition: Irc2.php:477
const RPL_STATSCLINE
This numeric is used for every entry configured through C-lines (connect).
Definition: Irc2.php:456
const ERR_NEEDMOREPARAMS
Returned by the server by numerous commands to indicate to the client that it didn&#39;t supply enough pa...
Definition: Irc2.php:165
const RPL_WHOISIDLE
Sent in response to a WHOIS, indicating how much time the target user has spent idle.
Definition: Irc2.php:279
const RPL_STATSHLINE
This numeric is used for every entry configured through H-lines (hub).
Definition: Irc2.php:510
const RPL_TRACEUSER
Used when tracing connections to give information on (non-operator) IRC clients.
Definition: Irc2.php:435
const RPL_WHOISUSER
Sent in response to a WHOIS, giving a few information on the target user.
Definition: Irc2.php:261
const ERR_USERNOTINCHANNEL
Returned by the server to indicate that the target user of the command is not on the given channel...
Definition: Irc2.php:144
const RPL_LISTEND
Sent in response to a LIST command, marks the end of the server&#39;s response.
Definition: Irc2.php:294
const RPL_VERSION
Reply by the server showing its version details.
Definition: Irc2.php:336
const ERR_UNAVAILRESOURCE
Returned when a resource needed to perform the given action is unavailable.
Definition: Irc2.php:141
const ERR_WILDTOPLEVEL
Returned when an invalid use of "PRIVMSG $<server>" or "PRIVMSG #<host>" is attempted (when the top-l...
Definition: Irc2.php:102
const ERR_INVITEONLYCHAN
Returned when trying to JOIN a channel which requires an invitation and you&#39;ve not been invited...
Definition: Irc2.php:192
const RPL_TRYAGAIN
When a server drops a command without processing it, it MUST use the reply RPL_TRYAGAIN to inform the...
Definition: Irc2.php:561
const ERR_UMODEUNKNOWNFLAG
Returned by the server to indicate that a MODE message was sent with a nickname parameter and that th...
Definition: Irc2.php:234
const RPL_ADMINLOC1
Returned in response to an ADMIN message, usually giving information on the city, state and country w...
Definition: Irc2.php:549
const RPL_YOUREOPER
RPL_YOUREOPER is sent back to a client which has just successfully issued an OPER message and gained ...
Definition: Irc2.php:390
const ERR_NICKNAMEINUSE
Returned when a NICK message is processed that results in an attempt to change to a currently existin...
Definition: Irc2.php:129
const ERR_NONICKNAMEGIVEN
Returned when a nickname parameter is expected for a command and isn&#39;t found.
Definition: Irc2.php:123
const RPL_WHOREPLY
Sent back for every user that matches the criteria for the current WHO command.
Definition: Irc2.php:339
const RPL_LUSERCHANNELS
Sent in response to a LUSERS message to indicate how many IRC channels have been formed, if any.
Definition: Irc2.php:540
const ERR_UNKNOWNMODE
Returned when trying to set a mode which is not recognized by the server on a channel.
Definition: Irc2.php:189
const ERR_PASSWDMISMATCH
Returned to indicate a failed attempt at registering a connection for which a password was required a...
Definition: Irc2.php:174
const ERR_UNKNOWNCOMMAND
Returned to a registered client to indicate that the command sent is unknown by the server...
Definition: Irc2.php:111
const RPL_NONE
Dummy reply number. Not used.
Definition: Irc2.php:240