Erebot  latest
A modular IRC bot for PHP 7.0+
IrcdHybrid.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 IrcdHybrid 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_YOURID = 42;
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_TRACECAPTURED = 207;
82 
84  const RPL_TRACENEWTYPE = 208;
85 
87  const RPL_TRACECLASS = 209;
88 
90  const RPL_STATSLINKINFO = 211;
91 
93  const RPL_STATSCOMMANDS = 212;
94 
96  const RPL_STATSCLINE = 213;
97 
99  const RPL_STATSNLINE = 214;
100 
102  const RPL_STATSILINE = 215;
103 
105  const RPL_STATSKLINE = 216;
106 
108  const RPL_STATSQLINE = 217;
109 
111  const RPL_STATSYLINE = 218;
112 
114  const RPL_ENDOFSTATS = 219;
115 
117  const RPL_STATSPLINE = 220;
118 
120  const RPL_UMODEIS = 221;
121 
123  const RPL_STATSFLINE = 224;
124 
126  const RPL_STATSDLINE = 225;
127 
129  const RPL_STATSALINE = 226;
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_ENDOFTRACE = 262;
187 
189  const RPL_LOAD2HI = 263;
190 
192  const RPL_LOCALUSERS = 265;
193 
195  const RPL_GLOBALUSERS = 266;
196 
198  const RPL_ACCEPTLIST = 281;
199 
201  const RPL_ENDOFACCEPT = 282;
202 
204  const RPL_AWAY = 301;
205 
207  const RPL_USERHOST = 302;
208 
210  const RPL_ISON = 303;
211 
213  const RPL_TEXT = 304;
214 
216  const RPL_UNAWAY = 305;
217 
219  const RPL_NOWAWAY = 306;
220 
222  const RPL_USERIP = 307;
223 
225  const RPL_WHOISADMIN = 308;
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_ENDOFWHOWAS = 369;
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_NOTOPIC = 331;
271 
273  const RPL_TOPIC = 332;
274 
276  const RPL_TOPICWHOTIME = 333;
277 
279  const RPL_WHOISACTUALLY = 338;
280 
282  const RPL_INVITING = 341;
283 
285  const RPL_INVITELIST = 346;
286 
288  const RPL_ENDOFINVITELIST = 347;
289 
291  const RPL_EXCEPTLIST = 348;
292 
294  const RPL_ENDOFEXCEPTLIST = 349;
295 
297  const RPL_VERSION = 351;
298 
300  const RPL_WHOREPLY = 352;
301 
303  const RPL_ENDOFWHO = 315;
304 
306  const RPL_NAMREPLY = 353;
307 
309  const RPL_ENDOFNAMES = 366;
310 
312  const RPL_CLOSING = 362;
313 
315  const RPL_CLOSEEND = 363;
316 
318  const RPL_LINKS = 364;
319 
321  const RPL_ENDOFLINKS = 365;
322 
324  const RPL_BANLIST = 367;
325 
327  const RPL_ENDOFBANLIST = 368;
328 
330  const RPL_INFO = 371;
331 
333  const RPL_MOTD = 372;
334 
336  const RPL_INFOSTART = 373;
337 
339  const RPL_ENDOFINFO = 374;
340 
342  const RPL_MOTDSTART = 375;
343 
345  const RPL_ENDOFMOTD = 376;
346 
348  const RPL_YOUREOPER = 381;
349 
351  const RPL_REHASHING = 382;
352 
354  const RPL_RSACHALLENGE = 386;
355 
357  const RPL_TIME = 391;
358 
360  const RPL_USERSSTART = 392;
361 
363  const RPL_USERS = 393;
364 
366  const RPL_ENDOFUSERS = 394;
367 
369  const RPL_NOUSERS = 395;
370 
372  const RPL_HOSTHIDDEN = 396;
373 
375  const ERR_NOSUCHNICK = 401;
376 
378  const ERR_NOSUCHSERVER = 402;
379 
381  const ERR_NOSUCHCHANNEL = 403;
382 
384  const ERR_CANNOTSENDTOCHAN = 404;
385 
387  const ERR_TOOMANYCHANNELS = 405;
388 
390  const ERR_WASNOSUCHNICK = 406;
391 
393  const ERR_TOOMANYTARGETS = 407;
394 
396  const ERR_NOORIGIN = 409;
397 
399  const ERR_INVALIDCAPCMD = 410;
400 
402  const ERR_NORECIPIENT = 411;
403 
405  const ERR_NOTEXTTOSEND = 412;
406 
408  const ERR_NOTOPLEVEL = 413;
409 
411  const ERR_WILDTOPLEVEL = 414;
412 
414  const ERR_UNKNOWNCOMMAND = 421;
415 
417  const ERR_NOMOTD = 422;
418 
420  const ERR_NOADMININFO = 423;
421 
423  const ERR_NONICKNAMEGIVEN = 431;
424 
426  const ERR_ERRONEUSNICKNAME = 432;
427 
429  const ERR_NICKNAMEINUSE = 433;
430 
432  const ERR_NICKCOLLISION = 436;
433 
435  const ERR_UNAVAILRESOURCE = 437;
436 
438  const ERR_NICKTOOFAST = 438;
439 
441  const ERR_SERVICESDOWN = 440;
442 
444  const ERR_USERNOTINCHANNEL = 441;
445 
447  const ERR_NOTONCHANNEL = 442;
448 
450  const ERR_USERONCHANNEL = 443;
451 
453  const ERR_NOTREGISTERED = 451;
454 
456  const ERR_ACCEPTFULL = 456;
457 
459  const ERR_ACCEPTEXIST = 457;
460 
462  const ERR_ACCEPTNOT = 458;
463 
465  const ERR_NEEDMOREPARAMS = 461;
466 
468  const ERR_ALREADYREGISTRED = 462;
469 
471  const ERR_PASSWDMISMATCH = 464;
472 
474  const ERR_YOUREBANNEDCREEP = 465;
475 
477  const ERR_OPERONLYCHAN = 470;
478 
480  const ERR_CHANNELISFULL = 471;
481 
483  const ERR_UNKNOWNMODE = 472;
484 
486  const ERR_INVITEONLYCHAN = 473;
487 
489  const ERR_BANNEDFROMCHAN = 474;
490 
492  const ERR_BADCHANNELKEY = 475;
493 
495  const ERR_BANLISTFULL = 478;
496 
498  const ERR_BADCHANNAME = 479;
499 
501  const ERR_SSLONLYCHAN = 480;
502 
504  const ERR_NOPRIVILEGES = 481;
505 
507  const ERR_CHANOPRIVSNEEDED = 482;
508 
510  const ERR_CANTKILLSERVER = 483;
511 
513  const ERR_RESTRICTED = 484;
514 
516  const ERR_NOOPERHOST = 491;
517 
519  const ERR_UMODEUNKNOWNFLAG = 501;
520 
522  const ERR_USERSDONTMATCH = 502;
523 
525  const ERR_GHOSTEDCLIENT = 503;
526 
528  const ERR_USERNOTONSERV = 504;
529 
531  const ERR_TOOMANYWATCH = 512;
532 
534  const ERR_WRONGPONG = 513;
535 
537  const ERR_LONGMASK = 518;
538 
540  const ERR_LISTSYNTAX = 521;
541 
543  const ERR_HELPNOTFOUND = 524;
544 
546  const RPL_LOGON = 600;
547 
549  const RPL_LOGOFF = 601;
550 
552  const RPL_WATCHOFF = 602;
553 
555  const RPL_WATCHSTAT = 603;
556 
558  const RPL_NOWON = 604;
559 
561  const RPL_NOWOFF = 605;
562 
564  const RPL_WATCHLIST = 606;
565 
567  const RPL_ENDOFWATCHLIST = 607;
568 
570  const RPL_WHOISSECURE = 671;
571 
573  const RPL_MODLIST = 702;
574 
576  const RPL_ENDOFMODLIST = 703;
577 
579  const RPL_HELPSTART = 704;
580 
582  const RPL_HELPTXT = 705;
583 
585  const RPL_ENDOFHELP = 706;
586 
588  const RPL_ETRACE_FULL = 708;
589 
591  const RPL_ETRACE = 709;
592 
594  const RPL_KNOCK = 710;
595 
597  const RPL_KNOCKDLVR = 711;
598 
600  const ERR_TOOMANYKNOCK = 712;
601 
603  const ERR_CHANOPEN = 713;
604 
606  const ERR_KNOCKONCHAN = 714;
607 
609  const ERR_KNOCKDISABLED = 715;
610 
612  const RPL_TARGUMODEG = 716;
613 
615  const RPL_TARGNOTIFY = 717;
616 
618  const RPL_UMODEGMSG = 718;
619 
621  const RPL_OMOTDSTART = 720;
622 
624  const RPL_OMOTD = 721;
625 
627  const RPL_ENDOFOMOTD = 722;
628 
630  const ERR_NOPRIVS = 723;
631 
633  const RPL_TESTMASK = 724;
634 
636  const RPL_TESTLINE = 725;
637 
639  const RPL_NOTESTLINE = 726;
640 
642  const RPL_ISCAPTURED = 727;
643 
645  const RPL_ISUNCAPTURED = 728;
646 
648  const ERR_LAST_ERR_MSG = 999;
649 }
Numeric profile for ircd-hybrid-based IRC servers.
Definition: IrcdHybrid.php:27