Erebot  latest
A modular IRC bot for PHP 7.0+
InspIRCd.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 InspIRCd extends \Erebot\NumericProfile\Base
28 {
30  const RPL_WELCOME = 1;
31 
33  const RPL_YOURHOSTIS = 2;
34 
36  const RPL_SERVERCREATED = 3;
37 
39  const RPL_SERVERVERSION = 4;
40 
42  const RPL_ISUPPORT = 5;
43 
45  const RPL_MAP = 6;
46 
48  const RPL_ENDMAP = 7;
49 
51  const RPL_SNOMASKIS = 8;
52 
54  const RPL_YOURUUID = 42;
55 
57  const RPL_UMODEIS = 221;
58 
60  const RPL_RULES = 232;
61 
63  const RPL_ADMINME = 256;
64 
66  const RPL_ADMINLOC1 = 257;
67 
69  const RPL_ADMINLOC2 = 258;
70 
72  const RPL_ADMINEMAIL = 259;
73 
75  const RPL_MAPUSERS = 270;
76 
78  const RPL_SYNTAX = 304;
79 
81  const RPL_UNAWAY = 305;
82 
84  const RPL_NOWAWAY = 306;
85 
87  const RPL_RULESTART = 308;
88 
90  const RPL_RULESEND = 309;
91 
93  const RPL_CHANNELMODEIS = 324;
94 
96  const RPL_CHANNELCREATED = 329;
97 
99  const RPL_NOTOPICSET = 331;
100 
102  const RPL_TOPIC = 332;
103 
105  const RPL_TOPICTIME = 333;
106 
108  const RPL_INVITING = 341;
109 
111  const RPL_INVITELIST = 346;
112 
114  const RPL_ENDOFINVITELIST = 347;
115 
117  const RPL_VERSION = 351;
118 
120  const RPL_NAMREPLY = 353;
121 
123  const RPL_ENDOFNAMES = 366;
124 
126  const RPL_INFO = 371;
127 
129  const RPL_ENDOFINFO = 374;
130 
132  const RPL_MOTD = 372;
133 
135  const RPL_MOTDSTART = 375;
136 
138  const RPL_ENDOFMOTD = 376;
139 
141  const RPL_YOUAREOPER = 381;
142 
144  const RPL_REHASHING = 382;
145 
147  const RPL_TIME = 391;
148 
151 
153  const ERR_NOSUCHNICK = 401;
154 
156  const ERR_NOSUCHSERVER = 402;
157 
159  const ERR_NOSUCHCHANNEL = 403;
160 
162  const ERR_CANNOTSENDTOCHAN = 404;
163 
165  const ERR_TOOMANYCHANNELS = 405;
166 
169 
171  const ERR_UNKNOWNCOMMAND = 421;
172 
174  const ERR_NOMOTD = 422;
175 
177  const ERR_NORULES = 434;
178 
180  const ERR_USERNOTINCHANNEL = 441;
181 
183  const ERR_NOTONCHANNEL = 442;
184 
186  const ERR_USERONCHANNEL = 443;
187 
189  const ERR_CANTCHANGENICK = 447;
190 
192  const ERR_NOTREGISTERED = 451;
193 
195  const ERR_NEEDMOREPARAMS = 461;
196 
199 
201  const ERR_BADCHANNELKEY = 475;
202 
204  const ERR_INVITEONLYCHAN = 473;
205 
207  const ERR_CHANNELISFULL = 471;
208 
210  const ERR_BANNEDFROMCHAN = 474;
211 
213  const ERR_NOPRIVILEGES = 481;
214 
216  const ERR_CHANOPRIVSNEEDED = 482;
217 
219  const ERR_ALLMUSTSSL = 490;
220 
222  const ERR_NOCTCPALLOWED = 492;
223 
225  const ERR_DELAYREJOIN = 495;
226 
228  const ERR_UNKNOWNSNOMASK = 501;
229 
231  const ERR_USERSDONTMATCH = 502;
232 
235 
237  const ERR_CANTSENDTOUSER = 531;
238 
240  const RPL_COMMANDS = 702;
241 
243  const RPL_COMMANDSEND = 703;
244 
246  const ERR_WORDFILTERED = 936;
247 
249  const ERR_CANTUNLOADMODULE = 972;
250 
252  const RPL_UNLOADEDMODULE = 973;
253 
255  const ERR_CANTLOADMODULE = 974;
256 
258  const RPL_LOADEDMODULE = 975;
259 }
Numeric profile for InspIRCd-based IRC servers.
Definition: InspIRCd.php:27