Erebot  latest
A modular IRC bot for PHP 7.0+
Csircd.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 Csircd 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_TRACELINK = 200;
46 
48  const RPL_TRACECONNECTING = 201;
49 
51  const RPL_TRACEHANDSHAKE = 202;
52 
54  const RPL_TRACEUNKNOWN = 203;
55 
57  const RPL_TRACEOPERATOR = 204;
58 
60  const RPL_TRACEUSER = 205;
61 
63  const RPL_TRACESERVER = 206;
64 
66  const RPL_TRACESERVICE = 207;
67 
69  const RPL_TRACENEWTYPE = 208;
70 
72  const RPL_TRACECLASS = 209;
73 
75  const RPL_STATSLINKINFO = 211;
76 
78  const RPL_STATSCOMMANDS = 212;
79 
81  const RPL_STATSCLINE = 213;
82 
84  const RPL_STATSNLINE = 214;
85 
87  const RPL_STATSILINE = 215;
88 
90  const RPL_STATSKLINE = 216;
91 
93  const RPL_STATSQLINE = 217;
94 
96  const RPL_STATSYLINE = 218;
97 
99  const RPL_ENDOFSTATS = 219;
100 
102  const RPL_UMODEIS = 221;
103 
105  const RPL_STATSBLINE = 222;
106 
108  const RPL_STATSELINE = 223;
109 
111  const RPL_STATSDLINE = 224;
112 
114  const RPL_STATSGLINE = 225;
115 
117  const RPL_SERVICEINFO = 231;
118 
120  const RPL_ENDOFSERVICES = 232;
121 
123  const RPL_SERVICE = 233;
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_STATSDEBUG = 249;
151 
153  const RPL_STATSCONN = 250;
154 
156  const RPL_LUSERCLIENT = 251;
157 
159  const RPL_LUSEROP = 252;
160 
162  const RPL_LUSERUNKNOWN = 253;
163 
165  const RPL_LUSERCHANNELS = 254;
166 
168  const RPL_LUSERME = 255;
169 
171  const RPL_ADMINME = 256;
172 
174  const RPL_ADMINLOC1 = 257;
175 
177  const RPL_ADMINLOC2 = 258;
178 
180  const RPL_ADMINEMAIL = 259;
181 
183  const RPL_TRACELOG = 261;
184 
186  const RPL_ENDOFTRACE = 262;
187 
189  const RPL_LOAD2HI = 263;
190 
192  const RPL_NONE = 300;
193 
195  const RPL_AWAY = 301;
196 
198  const RPL_USERHOST = 302;
199 
201  const RPL_ISON = 303;
202 
204  const RPL_TEXT = 304;
205 
207  const RPL_UNAWAY = 305;
208 
210  const RPL_NOWAWAY = 306;
211 
213  const RPL_WHOISUSER = 311;
214 
216  const RPL_WHOISSERVER = 312;
217 
219  const RPL_WHOISOPERATOR = 313;
220 
222  const RPL_WHOWASUSER = 314;
223 
225  const RPL_ENDOFWHO = 315;
226 
228  const RPL_WHOISCHANOP = 316;
229 
231  const RPL_WHOISIDLE = 317;
232 
234  const RPL_ENDOFWHOIS = 318;
235 
237  const RPL_WHOISCHANNELS = 319;
238 
240  const RPL_LISTSTART = 321;
241 
243  const RPL_LIST = 322;
244 
246  const RPL_LISTEND = 323;
247 
249  const RPL_CHANNELMODEIS = 324;
250 
252  const RPL_CREATIONTIME = 329;
253 
255  const RPL_NOTOPIC = 331;
256 
258  const RPL_TOPIC = 332;
259 
261  const RPL_TOPICWHOTIME = 333;
262 
264  const RPL_INVITING = 341;
265 
267  const RPL_SUMMONING = 342;
268 
270  const RPL_VERSION = 351;
271 
273  const RPL_WHOREPLY = 352;
274 
276  const RPL_NAMREPLY = 353;
277 
279  const RPL_KILLDONE = 361;
280 
282  const RPL_CLOSING = 362;
283 
285  const RPL_CLOSEEND = 363;
286 
288  const RPL_LINKS = 364;
289 
291  const RPL_ENDOFLINKS = 365;
292 
294  const RPL_ENDOFNAMES = 366;
295 
297  const RPL_BANLIST = 367;
298 
300  const RPL_ENDOFBANLIST = 368;
301 
303  const RPL_ENDOFWHOWAS = 369;
304 
306  const RPL_INFO = 371;
307 
309  const RPL_MOTD = 372;
310 
312  const RPL_INFOSTART = 373;
313 
315  const RPL_ENDOFINFO = 374;
316 
318  const RPL_MOTDSTART = 375;
319 
321  const RPL_ENDOFMOTD = 376;
322 
324  const RPL_YOUREOPER = 381;
325 
327  const RPL_REHASHING = 382;
328 
330  const RPL_YOURESERVICE = 383;
331 
333  const RPL_MYPORTIS = 384;
334 
336  const RPL_NOTOPERANYMORE = 385;
337 
339  const RPL_TIME = 391;
340 
342  const RPL_USERSSTART = 392;
343 
345  const RPL_USERS = 393;
346 
348  const RPL_ENDOFUSERS = 394;
349 
351  const RPL_NOUSERS = 395;
352 
354  const ERR_NOSUCHNICK = 401;
355 
357  const ERR_NOSUCHSERVER = 402;
358 
360  const ERR_NOSUCHCHANNEL = 403;
361 
363  const ERR_CANNOTSENDTOCHAN = 404;
364 
366  const ERR_TOOMANYCHANNELS = 405;
367 
369  const ERR_WASNOSUCHNICK = 406;
370 
372  const ERR_TOOMANYTARGETS = 407;
373 
375  const ERR_NOSUCHSERVICE = 408;
376 
378  const ERR_NOORIGIN = 409;
379 
381  const ERR_NORECIPIENT = 411;
382 
384  const ERR_NOTEXTTOSEND = 412;
385 
387  const ERR_NOTOPLEVEL = 413;
388 
390  const ERR_WILDTOPLEVEL = 414;
391 
393  const ERR_UNKNOWNCOMMAND = 421;
394 
396  const ERR_NOMOTD = 422;
397 
399  const ERR_NOADMININFO = 423;
400 
402  const ERR_FILEERROR = 424;
403 
405  const ERR_NONICKNAMEGIVEN = 431;
406 
408  const ERR_ERRONEUSNICKNAME = 432;
409 
411  const ERR_NICKNAMEINUSE = 433;
412 
414  const ERR_SERVICENAMEINUSE = 434;
415 
417  const ERR_SERVICECONFUSED = 435;
418 
420  const ERR_NICKCOLLISION = 436;
421 
423  const ERR_UNAVAILRESOURCE = 437;
424 
426  const ERR_USERNOTINCHANNEL = 441;
427 
429  const ERR_NOTONCHANNEL = 442;
430 
432  const ERR_USERONCHANNEL = 443;
433 
435  const ERR_NOLOGIN = 444;
436 
438  const ERR_SUMMONDISABLED = 445;
439 
441  const ERR_USERSDISABLED = 446;
442 
444  const ERR_NOTREGISTERED = 451;
445 
447  const ERR_NEEDMOREPARAMS = 461;
448 
450  const ERR_ALREADYREGISTRED = 462;
451 
453  const ERR_NOPERMFORHOST = 463;
454 
456  const ERR_PASSWDMISMATCH = 464;
457 
459  const ERR_YOUREBANNEDCREEP = 465;
460 
462  const ERR_YOUWILLBEBANNED = 466;
463 
465  const ERR_KEYSET = 467;
466 
468  const ERR_CHANNELISFULL = 471;
469 
471  const ERR_UNKNOWNMODE = 472;
472 
474  const ERR_INVITEONLYCHAN = 473;
475 
477  const ERR_BANNEDFROMCHAN = 474;
478 
480  const ERR_BADCHANNELKEY = 475;
481 
483  const ERR_BADCHANMASK = 476;
484 
486  const ERR_NOPRIVILEGES = 481;
487 
489  const ERR_CHANOPRIVSNEEDED = 482;
490 
492  const ERR_CANTKILLSERVER = 483;
493 
495  const ERR_NOOPERHOST = 491;
496 
498  const ERR_NOSERVICEHOST = 492;
499 
501  const ERR_UMODEUNKNOWNFLAG = 501;
502 
504  const ERR_USERSDONTMATCH = 502;
505 
507  const ERR_GHOSTEDCLIENT = 503;
508 }
Numeric profile for csircd-based IRC servers.
Definition: Csircd.php:27