Erebot  latest
A modular IRC bot for PHP 7.0+
IrcdRatbox.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 
27 class IrcdRatbox extends \Erebot\NumericProfile\Base
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_REDIR = 10;
46 
48  const RPL_MAP = 15;
49 
51  const RPL_MAPMORE = 16;
52 
54  const RPL_MAPEND = 17;
55 
57  const RPL_SAVENICK = 43;
58 
60  const RPL_TRACELINK = 200;
61 
63  const RPL_TRACECONNECTING = 201;
64 
66  const RPL_TRACEHANDSHAKE = 202;
67 
69  const RPL_TRACEUNKNOWN = 203;
70 
72  const RPL_TRACEOPERATOR = 204;
73 
75  const RPL_TRACEUSER = 205;
76 
78  const RPL_TRACESERVER = 206;
79 
81  const RPL_TRACENEWTYPE = 208;
82 
84  const RPL_TRACECLASS = 209;
85 
87  const RPL_STATSLINKINFO = 211;
88 
90  const RPL_STATSCOMMANDS = 212;
91 
93  const RPL_STATSCLINE = 213;
94 
96  const RPL_STATSNLINE = 214;
97 
99  const RPL_STATSILINE = 215;
100 
102  const RPL_STATSKLINE = 216;
103 
105  const RPL_STATSQLINE = 217;
106 
108  const RPL_STATSYLINE = 218;
109 
111  const RPL_ENDOFSTATS = 219;
112 
114  const RPL_STATSPLINE = 220;
115 
117  const RPL_UMODEIS = 221;
118 
120  const RPL_STATSFLINE = 224;
121 
123  const RPL_STATSDLINE = 225;
124 
126  const RPL_SERVLIST = 234;
127 
129  const RPL_SERVLISTEND = 235;
130 
132  const RPL_STATSLLINE = 241;
133 
135  const RPL_STATSUPTIME = 242;
136 
138  const RPL_STATSOLINE = 243;
139 
141  const RPL_STATSHLINE = 244;
142 
144  const RPL_STATSSLINE = 245;
145 
147  const RPL_STATSXLINE = 247;
148 
150  const RPL_STATSULINE = 248;
151 
153  const RPL_STATSDEBUG = 249;
154 
156  const RPL_STATSCONN = 250;
157 
159  const RPL_LUSERCLIENT = 251;
160 
162  const RPL_LUSEROP = 252;
163 
165  const RPL_LUSERUNKNOWN = 253;
166 
168  const RPL_LUSERCHANNELS = 254;
169 
171  const RPL_LUSERME = 255;
172 
174  const RPL_ADMINME = 256;
175 
177  const RPL_ADMINLOC1 = 257;
178 
180  const RPL_ADMINLOC2 = 258;
181 
183  const RPL_ADMINEMAIL = 259;
184 
186  const RPL_TRACELOG = 261;
187 
189  const RPL_ENDOFTRACE = 262;
190 
192  const RPL_LOAD2HI = 263;
193 
195  const RPL_LOCALUSERS = 265;
196 
198  const RPL_GLOBALUSERS = 266;
199 
201  const RPL_ACCEPTLIST = 281;
202 
204  const RPL_ENDOFACCEPT = 282;
205 
207  const RPL_NONE = 300;
208 
210  const RPL_AWAY = 301;
211 
213  const RPL_USERHOST = 302;
214 
216  const RPL_ISON = 303;
217 
219  const RPL_TEXT = 304;
220 
222  const RPL_UNAWAY = 305;
223 
225  const RPL_NOWAWAY = 306;
226 
228  const RPL_WHOISUSER = 311;
229 
231  const RPL_WHOISSERVER = 312;
232 
234  const RPL_WHOISOPERATOR = 313;
235 
237  const RPL_WHOWASUSER = 314;
238 
240  const RPL_ENDOFWHO = 315;
241 
243  const RPL_WHOISCHANOP = 316;
244 
246  const RPL_WHOISIDLE = 317;
247 
249  const RPL_ENDOFWHOIS = 318;
250 
252  const RPL_WHOISCHANNELS = 319;
253 
255  const RPL_LISTSTART = 321;
256 
258  const RPL_LIST = 322;
259 
261  const RPL_LISTEND = 323;
262 
264  const RPL_CHANNELMODEIS = 324;
265 
267  const RPL_CREATIONTIME = 329;
268 
270  const RPL_WHOISLOGGEDIN = 330;
271 
273  const RPL_NOTOPIC = 331;
274 
276  const RPL_TOPIC = 332;
277 
279  const RPL_TOPICWHOTIME = 333;
280 
282  const RPL_WHOISACTUALLY = 338;
283 
285  const RPL_INVITING = 341;
286 
288  const RPL_SUMMONING = 342;
289 
291  const RPL_INVITELIST = 346;
292 
294  const RPL_ENDOFINVITELIST = 347;
295 
297  const RPL_EXCEPTLIST = 348;
298 
300  const RPL_ENDOFEXCEPTLIST = 349;
301 
303  const RPL_VERSION = 351;
304 
306  const RPL_WHOREPLY = 352;
307 
309  const RPL_NAMREPLY = 353;
310 
312  const RPL_KILLDONE = 361;
313 
315  const RPL_CLOSING = 362;
316 
318  const RPL_CLOSEEND = 363;
319 
321  const RPL_LINKS = 364;
322 
324  const RPL_ENDOFLINKS = 365;
325 
327  const RPL_ENDOFNAMES = 366;
328 
330  const RPL_BANLIST = 367;
331 
333  const RPL_ENDOFBANLIST = 368;
334 
336  const RPL_ENDOFWHOWAS = 369;
337 
339  const RPL_INFO = 371;
340 
342  const RPL_MOTD = 372;
343 
345  const RPL_INFOSTART = 373;
346 
348  const RPL_ENDOFINFO = 374;
349 
351  const RPL_MOTDSTART = 375;
352 
354  const RPL_ENDOFMOTD = 376;
355 
357  const RPL_YOUREOPER = 381;
358 
360  const RPL_REHASHING = 382;
361 
363  const RPL_MYPORTIS = 384;
364 
366  const RPL_NOTOPERANYMORE = 385;
367 
369  const RPL_RSACHALLENGE = 386;
370 
372  const RPL_TIME = 391;
373 
375  const RPL_USERSSTART = 392;
376 
378  const RPL_USERS = 393;
379 
381  const RPL_ENDOFUSERS = 394;
382 
384  const RPL_NOUSERS = 395;
385 
387  const ERR_NOSUCHNICK = 401;
388 
390  const ERR_NOSUCHSERVER = 402;
391 
393  const ERR_NOSUCHCHANNEL = 403;
394 
396  const ERR_CANNOTSENDTOCHAN = 404;
397 
399  const ERR_TOOMANYCHANNELS = 405;
400 
402  const ERR_WASNOSUCHNICK = 406;
403 
405  const ERR_TOOMANYTARGETS = 407;
406 
408  const ERR_NOORIGIN = 409;
409 
411  const ERR_INVALIDCAPCMD = 410;
412 
414  const ERR_NORECIPIENT = 411;
415 
417  const ERR_NOTEXTTOSEND = 412;
418 
420  const ERR_NOTOPLEVEL = 413;
421 
423  const ERR_WILDTOPLEVEL = 414;
424 
426  const ERR_TOOMANYMATCHES = 416;
427 
429  const ERR_UNKNOWNCOMMAND = 421;
430 
432  const ERR_NOMOTD = 422;
433 
435  const ERR_NOADMININFO = 423;
436 
438  const ERR_FILEERROR = 424;
439 
441  const ERR_NONICKNAMEGIVEN = 431;
442 
444  const ERR_ERRONEUSNICKNAME = 432;
445 
447  const ERR_NICKNAMEINUSE = 433;
448 
450  const ERR_NICKCOLLISION = 436;
451 
453  const ERR_UNAVAILRESOURCE = 437;
454 
456  const ERR_NICKTOOFAST = 438;
457 
459  const ERR_USERNOTINCHANNEL = 441;
460 
462  const ERR_NOTONCHANNEL = 442;
463 
465  const ERR_USERONCHANNEL = 443;
466 
468  const ERR_NOLOGIN = 444;
469 
471  const ERR_SUMMONDISABLED = 445;
472 
474  const ERR_USERSDISABLED = 446;
475 
477  const ERR_NOTREGISTERED = 451;
478 
480  const ERR_ACCEPTFULL = 456;
481 
483  const ERR_ACCEPTEXIST = 457;
484 
486  const ERR_ACCEPTNOT = 458;
487 
489  const ERR_NEEDMOREPARAMS = 461;
490 
492  const ERR_ALREADYREGISTRED = 462;
493 
495  const ERR_NOPERMFORHOST = 463;
496 
498  const ERR_PASSWDMISMATCH = 464;
499 
501  const ERR_YOUREBANNEDCREEP = 465;
502 
504  const ERR_YOUWILLBEBANNED = 466;
505 
507  const ERR_KEYSET = 467;
508 
510  const ERR_CHANNELISFULL = 471;
511 
513  const ERR_UNKNOWNMODE = 472;
514 
516  const ERR_INVITEONLYCHAN = 473;
517 
519  const ERR_BANNEDFROMCHAN = 474;
520 
522  const ERR_BADCHANNELKEY = 475;
523 
525  const ERR_BADCHANMASK = 476;
526 
528  const ERR_NEEDREGGEDNICK = 477;
529 
531  const ERR_BANLISTFULL = 478;
532 
534  const ERR_BADCHANNAME = 479;
535 
537  const ERR_SSLONLYCHAN = 480;
538 
540  const ERR_NOPRIVILEGES = 481;
541 
543  const ERR_CHANOPRIVSNEEDED = 482;
544 
546  const ERR_CANTKILLSERVER = 483;
547 
549  const ERR_ISCHANSERVICE = 484;
550 
552  const ERR_BANNEDNICK = 485;
553 
555  const ERR_VOICENEEDED = 489;
556 
558  const ERR_NOOPERHOST = 491;
559 
561  const ERR_UMODEUNKNOWNFLAG = 501;
562 
564  const ERR_USERSDONTMATCH = 502;
565 
567  const ERR_GHOSTEDCLIENT = 503;
568 
570  const ERR_USERNOTONSERV = 504;
571 
573  const ERR_WRONGPONG = 513;
574 
576  const ERR_HELPNOTFOUND = 524;
577 
579  const RPL_WHOISSECURE = 671;
580 
582  const RPL_MODLIST = 702;
583 
585  const RPL_ENDOFMODLIST = 703;
586 
588  const RPL_HELPSTART = 704;
589 
591  const RPL_HELPTXT = 705;
592 
594  const RPL_ENDOFHELP = 706;
595 
597  const ERR_TARGCHANGE = 707;
598 
600  const RPL_ETRACEFULL = 708;
601 
603  const RPL_ETRACE = 709;
604 
606  const RPL_KNOCK = 710;
607 
609  const RPL_KNOCKDLVR = 711;
610 
612  const ERR_TOOMANYKNOCK = 712;
613 
615  const ERR_CHANOPEN = 713;
616 
618  const ERR_KNOCKONCHAN = 714;
619 
621  const ERR_KNOCKDISABLED = 715;
622 
624  const ERR_TARGUMODEG = 716;
625 
627  const RPL_TARGNOTIFY = 717;
628 
630  const RPL_UMODEGMSG = 718;
631 
633  const RPL_OMOTDSTART = 720;
634 
636  const RPL_OMOTD = 721;
637 
639  const RPL_ENDOFOMOTD = 722;
640 
642  const ERR_NOPRIVS = 723;
643 
645  const RPL_TESTMASK = 724;
646 
648  const RPL_TESTLINE = 725;
649 
651  const RPL_NOTESTLINE = 726;
652 
654  const RPL_TESTMASKGECOS = 727;
655 
657  const RPL_MONONLINE = 730;
658 
660  const RPL_MONOFFLINE = 731;
661 
663  const RPL_MONLIST = 732;
664 
666  const RPL_ENDOFMONLIST = 733;
667 
669  const ERR_MONLISTFULL = 734;
670 
672  const RPL_RSACHALLENGE2 = 740;
673 
676 
678  const ERR_LAST_ERR_MSG = 999;
679 }
Numeric profile for ircd-ratbox-based IRC servers.
Definition: IrcdRatbox.php:27