Erebot  latest
A modular IRC bot for PHP 7.0+
Ircu.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 Ircu 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_SNOMASK = 8;
46 
48  const RPL_MAP = 15;
49 
51  const RPL_MAPMORE = 16;
52 
54  const RPL_MAPEND = 17;
55 
57  const RPL_APASSWARN_SET = 30;
58 
61 
63  const RPL_APASSWARN_CLEAR = 32;
64 
66  const RPL_TRACELINK = 200;
67 
69  const RPL_TRACECONNECTING = 201;
70 
72  const RPL_TRACEHANDSHAKE = 202;
73 
75  const RPL_TRACEUNKNOWN = 203;
76 
78  const RPL_TRACEOPERATOR = 204;
79 
81  const RPL_TRACEUSER = 205;
82 
84  const RPL_TRACESERVER = 206;
85 
87  const RPL_TRACENEWTYPE = 208;
88 
90  const RPL_TRACECLASS = 209;
91 
93  const RPL_STATSLINKINFO = 211;
94 
96  const RPL_STATSCOMMANDS = 212;
97 
99  const RPL_STATSCLINE = 213;
100 
102  const RPL_STATSNLINE = 214;
103 
105  const RPL_STATSILINE = 215;
106 
108  const RPL_STATSKLINE = 216;
109 
111  const RPL_STATSPLINE = 217;
112 
114  const RPL_STATSYLINE = 218;
115 
117  const RPL_ENDOFSTATS = 219;
118 
120  const RPL_UMODEIS = 221;
121 
123  const RPL_STATSJLINE = 222;
124 
126  const RPL_STATSALINE = 226;
127 
129  const RPL_STATSQLINE = 228;
130 
132  const RPL_STATSVERBOSE = 236;
133 
135  const RPL_STATSENGINE = 237;
136 
138  const RPL_STATSFLINE = 238;
139 
141  const RPL_STATSLLINE = 241;
142 
144  const RPL_STATSUPTIME = 242;
145 
147  const RPL_STATSOLINE = 243;
148 
150  const RPL_STATSHLINE = 244;
151 
153  const RPL_STATSTLINE = 246;
154 
156  const RPL_STATSGLINE = 247;
157 
159  const RPL_STATSULINE = 248;
160 
162  const RPL_STATSDEBUG = 249;
163 
165  const RPL_STATSCONN = 250;
166 
168  const RPL_LUSERCLIENT = 251;
169 
171  const RPL_LUSEROP = 252;
172 
174  const RPL_LUSERUNKNOWN = 253;
175 
177  const RPL_LUSERCHANNELS = 254;
178 
180  const RPL_LUSERME = 255;
181 
183  const RPL_ADMINME = 256;
184 
186  const RPL_ADMINLOC1 = 257;
187 
189  const RPL_ADMINLOC2 = 258;
190 
192  const RPL_ADMINEMAIL = 259;
193 
195  const RPL_TRACEEND = 262;
196 
198  const RPL_PRIVS = 270;
199 
201  const RPL_SILELIST = 271;
202 
204  const RPL_ENDOFSILELIST = 272;
205 
207  const RPL_STATSDLINE = 275;
208 
210  const RPL_STATSRLINE = 276;
211 
213  const RPL_GLIST = 280;
214 
216  const RPL_ENDOFGLIST = 281;
217 
219  const RPL_JUPELIST = 282;
220 
222  const RPL_ENDOFJUPELIST = 283;
223 
225  const RPL_FEATURE = 284;
226 
228  const RPL_AWAY = 301;
229 
231  const RPL_USERHOST = 302;
232 
234  const RPL_ISON = 303;
235 
237  const RPL_UNAWAY = 305;
238 
240  const RPL_NOWAWAY = 306;
241 
243  const RPL_WHOISUSER = 311;
244 
246  const RPL_WHOISSERVER = 312;
247 
249  const RPL_WHOISOPERATOR = 313;
250 
252  const RPL_WHOWASUSER = 314;
253 
255  const RPL_ENDOFWHO = 315;
256 
258  const RPL_WHOISIDLE = 317;
259 
261  const RPL_ENDOFWHOIS = 318;
262 
264  const RPL_WHOISCHANNELS = 319;
265 
267  const RPL_LISTSTART = 321;
268 
270  const RPL_LIST = 322;
271 
273  const RPL_LISTEND = 323;
274 
276  const RPL_CHANNELMODEIS = 324;
277 
279  const RPL_CREATIONTIME = 329;
280 
282  const RPL_WHOISACCOUNT = 330;
283 
285  const RPL_NOTOPIC = 331;
286 
288  const RPL_TOPIC = 332;
289 
291  const RPL_TOPICWHOTIME = 333;
292 
294  const RPL_LISTUSAGE = 334;
295 
297  const RPL_WHOISACTUALLY = 338;
298 
300  const RPL_USERIP = 340;
301 
303  const RPL_INVITING = 341;
304 
306  const RPL_ISSUEDINVITE = 345;
307 
309  const RPL_INVITELIST = 346;
310 
312  const RPL_ENDOFINVITELIST = 347;
313 
315  const RPL_VERSION = 351;
316 
318  const RPL_WHOREPLY = 352;
319 
321  const RPL_NAMREPLY = 353;
322 
324  const RPL_WHOSPCRPL = 354;
325 
327  const RPL_DELNAMREPLY = 355;
328 
330  const RPL_CLOSING = 362;
331 
333  const RPL_CLOSEEND = 363;
334 
336  const RPL_LINKS = 364;
337 
339  const RPL_ENDOFLINKS = 365;
340 
342  const RPL_ENDOFNAMES = 366;
343 
345  const RPL_BANLIST = 367;
346 
348  const RPL_ENDOFBANLIST = 368;
349 
351  const RPL_ENDOFWHOWAS = 369;
352 
354  const RPL_INFO = 371;
355 
357  const RPL_MOTD = 372;
358 
360  const RPL_ENDOFINFO = 374;
361 
363  const RPL_MOTDSTART = 375;
364 
366  const RPL_ENDOFMOTD = 376;
367 
369  const RPL_YOUREOPER = 381;
370 
372  const RPL_REHASHING = 382;
373 
375  const RPL_TIME = 391;
376 
378  const RPL_HOSTHIDDEN = 396;
379 
381  const ERR_NOSUCHNICK = 401;
382 
384  const ERR_NOSUCHSERVER = 402;
385 
387  const ERR_NOSUCHCHANNEL = 403;
388 
390  const ERR_CANNOTSENDTOCHAN = 404;
391 
393  const ERR_TOOMANYCHANNELS = 405;
394 
396  const ERR_WASNOSUCHNICK = 406;
397 
399  const ERR_TOOMANYTARGETS = 407;
400 
402  const ERR_NOORIGIN = 409;
403 
405  const ERR_UNKNOWNCAPCMD = 410;
406 
408  const ERR_NORECIPIENT = 411;
409 
411  const ERR_NOTEXTTOSEND = 412;
412 
414  const ERR_NOTOPLEVEL = 413;
415 
417  const ERR_WILDTOPLEVEL = 414;
418 
420  const ERR_QUERYTOOLONG = 416;
421 
423  const ERR_INPUTTOOLONG = 417;
424 
426  const ERR_UNKNOWNCOMMAND = 421;
427 
429  const ERR_NOMOTD = 422;
430 
432  const ERR_NOADMININFO = 423;
433 
435  const ERR_NONICKNAMEGIVEN = 431;
436 
438  const ERR_ERRONEUSNICKNAME = 432;
439 
441  const ERR_NICKNAMEINUSE = 433;
442 
444  const ERR_NICKCOLLISION = 436;
445 
447  const ERR_BANNICKCHANGE = 437;
448 
450  const ERR_NICKTOOFAST = 438;
451 
453  const ERR_TARGETTOOFAST = 439;
454 
456  const ERR_SERVICESDOWN = 440;
457 
459  const ERR_USERNOTINCHANNEL = 441;
460 
462  const ERR_NOTONCHANNEL = 442;
463 
465  const ERR_USERONCHANNEL = 443;
466 
468  const ERR_NOTREGISTERED = 451;
469 
471  const ERR_NEEDMOREPARAMS = 461;
472 
474  const ERR_ALREADYREGISTRED = 462;
475 
477  const ERR_NOPERMFORHOST = 463;
478 
480  const ERR_PASSWDMISMATCH = 464;
481 
483  const ERR_YOUREBANNEDCREEP = 465;
484 
486  const ERR_YOUWILLBEBANNED = 466;
487 
489  const ERR_KEYSET = 467;
490 
492  const ERR_INVALIDUSERNAME = 468;
493 
495  const ERR_CHANNELISFULL = 471;
496 
498  const ERR_UNKNOWNMODE = 472;
499 
501  const ERR_INVITEONLYCHAN = 473;
502 
504  const ERR_BANNEDFROMCHAN = 474;
505 
507  const ERR_BADCHANNELKEY = 475;
508 
510  const ERR_BADCHANMASK = 476;
511 
513  const ERR_NEEDREGGEDNICK = 477;
514 
516  const ERR_BANLISTFULL = 478;
517 
519  const ERR_BADCHANNAME = 479;
520 
522  const ERR_NOPRIVILEGES = 481;
523 
525  const ERR_CHANOPRIVSNEEDED = 482;
526 
528  const ERR_CANTKILLSERVER = 483;
529 
531  const ERR_ISCHANSERVICE = 484;
532 
534  const ERR_VOICENEEDED = 489;
535 
537  const ERR_NOOPERHOST = 491;
538 
540  const ERR_NOFEATURE = 493;
541 
543  const ERR_BADFEATVALUE = 494;
544 
546  const ERR_BADLOGTYPE = 495;
547 
549  const ERR_BADLOGSYS = 496;
550 
552  const ERR_BADLOGVALUE = 497;
553 
555  const ERR_ISOPERLCHAN = 498;
556 
558  const ERR_UMODEUNKNOWNFLAG = 501;
559 
561  const ERR_USERSDONTMATCH = 502;
562 
564  const ERR_SILELISTFULL = 511;
565 
567  const ERR_NOSUCHGLINE = 512;
568 
570  const ERR_BADPING = 513;
571 
573  const ERR_NOSUCHJUPE = 514;
574 
576  const ERR_BADEXPIRE = 515;
577 
579  const ERR_DONTCHEAT = 516;
580 
582  const ERR_DISABLED = 517;
583 
585  const ERR_LONGMASK = 518;
586 
588  const ERR_TOOMANYUSERS = 519;
589 
591  const ERR_MASKTOOWIDE = 520;
592 
594  const ERR_QUARANTINED = 524;
595 
597  const ERR_INVALIDKEY = 525;
598 
600  const ERR_NOTLOWEROPLEVEL = 560;
601 
603  const ERR_NOTMANAGER = 561;
604 
606  const ERR_CHANSECURED = 562;
607 
609  const ERR_UPASSSET = 563;
610 
612  const ERR_UPASSNOTSET = 564;
613 
615  const ERR_NOMANAGER = 566;
616 
618  const ERR_UPASS_SAME_APASS = 567;
619 
621  const ERR_LASTERROR = 568;
622 }
Numeric profile for ircu-based IRC servers.
Definition: Ircu.php:27