]>
Commit | Line | Data |
---|---|---|
1 | /************************************************************************ | |
2 | * IRC - Internet Relay Chat, include/messages.h | |
3 | * Copyright (C) 1992 Darren Reed | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or modify | |
6 | * it under the terms of the GNU General Public License as published by | |
7 | * the Free Software Foundation; either version 1, or (at your option) | |
8 | * any later version. | |
9 | * | |
10 | * This program is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | * GNU General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU General Public License | |
16 | * along with this program; if not, write to the Free Software | |
17 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
18 | */ | |
19 | ||
20 | #ifndef INCLUDED_messages_h | |
21 | #define INCLUDED_messages_h | |
22 | ||
23 | /* | |
24 | * form_str - return a format string for a message number | |
25 | * messages are defined below | |
26 | */ | |
27 | ||
28 | #define FORM_STR1(n) NUMERIC_STR_##n | |
29 | #define form_str(n) FORM_STR1(n) | |
30 | ||
31 | #define NUMERIC_STR_1 ":Welcome to the %s Internet Relay Chat Network %s" | |
32 | #define NUMERIC_STR_2 ":Your host is %s, running version %s" | |
33 | #define NUMERIC_STR_3 ":This server was created %s" | |
34 | #define NUMERIC_STR_4 "%s %s %s %s bkloveqjfI" | |
35 | #define NUMERIC_STR_5 "%s :are supported by this server" | |
36 | #define NUMERIC_STR_8 "%s :Server notice mask" | |
37 | #define NUMERIC_STR_10 "%s %d :Please use this Server/Port instead" | |
38 | #define NUMERIC_STR_15 ":%s" | |
39 | #define NUMERIC_STR_17 ":End of /MAP" | |
40 | #define NUMERIC_STR_43 "%s :Nick collision, forcing nick change to your unique ID" | |
41 | #define NUMERIC_STR_200 "Link %s %s %s" | |
42 | #define NUMERIC_STR_201 "Try. %s %s" | |
43 | #define NUMERIC_STR_202 "H.S. %s %s" | |
44 | #define NUMERIC_STR_203 "???? %s %s (%s) %lu" | |
45 | #define NUMERIC_STR_204 "Oper %s %s (%s) %lu %lu" | |
46 | #define NUMERIC_STR_205 "User %s %s (%s) %lu %lu" | |
47 | #define NUMERIC_STR_206 "Serv %s %dS %dC %s %s!%s@%s %lu" | |
48 | #define NUMERIC_STR_208 "<newtype> 0 %s" | |
49 | #define NUMERIC_STR_209 "Class %s %d" | |
50 | #define NUMERIC_STR_212 "%s %u %lu :%u" | |
51 | #define NUMERIC_STR_213 "C %s %s %s %d %s %s" | |
52 | #define NUMERIC_STR_215 "I %s %s %s@%s %d %s" | |
53 | #define NUMERIC_STR_216 "%c %s * %s :%s%s%s" | |
54 | #define NUMERIC_STR_217 "%c %d %s :%s" | |
55 | #define NUMERIC_STR_218 "Y %s %d %d %d %u %d.%d %d.%d %u" | |
56 | #define NUMERIC_STR_219 "%c :End of /STATS report" | |
57 | #define NUMERIC_STR_220 "%c %d %s %d :%s%s%s" | |
58 | #define NUMERIC_STR_221 "%s" | |
59 | #define NUMERIC_STR_225 "%c %s :%s%s%s" | |
60 | #define NUMERIC_STR_241 "L %s * %s 0 -1" | |
61 | #define NUMERIC_STR_242 ":Server Up %d days, %d:%02d:%02d" | |
62 | #define NUMERIC_STR_243 "O %s@%s * %s %s %s" | |
63 | #define NUMERIC_STR_244 "H %s * %s 0 -1" | |
64 | #define NUMERIC_STR_247 "%c %d %s :%s" | |
65 | ||
66 | #define NUMERIC_STR_248 "U %s %s@%s %s" | |
67 | #define NUMERIC_STR_250 ":Highest connection count: %d (%d clients) (%lu connections received)" | |
68 | #define NUMERIC_STR_251 ":There are %d users and %d invisible on %d servers" | |
69 | #define NUMERIC_STR_252 "%d :IRC Operators online" | |
70 | #define NUMERIC_STR_253 "%d :unknown connection(s)" | |
71 | #define NUMERIC_STR_254 "%lu :channels formed" | |
72 | #define NUMERIC_STR_255 ":I have %d clients and %d servers" | |
73 | #define NUMERIC_STR_256 "%s :Administrative info" | |
74 | #define NUMERIC_STR_257 ":%s" | |
75 | #define NUMERIC_STR_258 ":%s" | |
76 | #define NUMERIC_STR_259 ":%s" | |
77 | #define NUMERIC_STR_262 "%s :End of TRACE" | |
78 | #define NUMERIC_STR_263 ":%s 263 %s %s :This command could not be completed because it has been used recently, and is rate-limited." | |
79 | #define NUMERIC_STR_265 "%d %d :Current local users %d, max %d" | |
80 | #define NUMERIC_STR_266 "%d %d :Current global users %d, max %d" | |
81 | #define NUMERIC_STR_270 "%s :%s" | |
82 | #define NUMERIC_STR_276 "%s :has client certificate fingerprint %s" | |
83 | #define NUMERIC_STR_281 ":%s 281 %s %s" | |
84 | #define NUMERIC_STR_282 ":%s 282 %s :End of /ACCEPT list." | |
85 | #define NUMERIC_STR_301 "%s :%s" | |
86 | #define NUMERIC_STR_302 ":%s 302 %s :%s" | |
87 | #define NUMERIC_STR_303 ":%s 303 %s :" | |
88 | #define NUMERIC_STR_305 ":You are no longer marked as being away" | |
89 | #define NUMERIC_STR_306 ":You have been marked as being away" | |
90 | #define NUMERIC_STR_310 "%s :is available for help." | |
91 | #define NUMERIC_STR_311 "%s %s %s * :%s" | |
92 | #define NUMERIC_STR_312 "%s %s :%s" | |
93 | #define NUMERIC_STR_313 "%s :%s" | |
94 | #define NUMERIC_STR_314 ":%s 314 %s %s %s %s * :%s" | |
95 | #define NUMERIC_STR_315 ":%s 315 %s %s :End of /WHO list." | |
96 | #define NUMERIC_STR_317 "%s %ld %lu :seconds idle, signon time" | |
97 | #define NUMERIC_STR_318 "%s :End of /WHOIS list." | |
98 | #define NUMERIC_STR_319 ":%s 319 %s %s :" | |
99 | #define NUMERIC_STR_320 "%s :%s" | |
100 | #define NUMERIC_STR_321 ":%s 321 %s Channel :Users Name" | |
101 | #define NUMERIC_STR_322 ":%s 322 %s %s%s %lu :%s" | |
102 | #define NUMERIC_STR_323 ":%s 323 %s :End of /LIST" | |
103 | #define NUMERIC_STR_324 ":%s 324 %s %s %s" | |
104 | #define NUMERIC_STR_325 ":%s 325 %s %s %s :is the current channel mode-lock" | |
105 | #define NUMERIC_STR_329 ":%s 329 %s %s %lu" | |
106 | #define NUMERIC_STR_330 "%s %s :is logged in as" | |
107 | #define NUMERIC_STR_331 ":%s 331 %s %s :No topic is set." | |
108 | #define NUMERIC_STR_332 ":%s 332 %s %s :%s" | |
109 | #define NUMERIC_STR_333 ":%s 333 %s %s %s %lu" | |
110 | #define NUMERIC_STR_337 "%s :%s" | |
111 | #define NUMERIC_STR_338 "%s %s :actually using host" | |
112 | #define NUMERIC_STR_341 ":%s 341 %s %s %s" | |
113 | #define NUMERIC_STR_346 ":%s 346 %s %s %s %s %lu" | |
114 | #define NUMERIC_STR_347 ":%s 347 %s %s :End of Channel Invite List" | |
115 | #define NUMERIC_STR_348 ":%s 348 %s %s %s %s %lu" | |
116 | #define NUMERIC_STR_349 ":%s 349 %s %s :End of Channel Exception List" | |
117 | #ifndef CUSTOM_BRANDING | |
118 | #define NUMERIC_STR_351 "%s(%s). %s :%s TS%dow %s" | |
119 | #else | |
120 | #define NUMERIC_STR_351 "%s(%s,%s). %s :%s TS%dow %s" | |
121 | #endif | |
122 | #define NUMERIC_STR_352 ":%s 352 %s %s %s %s %s %s %s :%d %s" | |
123 | #define NUMERIC_STR_353 ":%s 353 %s %s %s :" | |
124 | #define NUMERIC_STR_360 ":%s 360 %s %s :was connecting from *@%s %s" | |
125 | #define NUMERIC_STR_362 ":%s 362 %s %s :Closed. Status = %d" | |
126 | #define NUMERIC_STR_363 ":%s 363 %s %d :Connections Closed" | |
127 | #define NUMERIC_STR_364 "%s %s :%d %s" | |
128 | #define NUMERIC_STR_365 "%s :End of /LINKS list." | |
129 | #define NUMERIC_STR_366 ":%s 366 %s %s :End of /NAMES list." | |
130 | #define NUMERIC_STR_367 ":%s 367 %s %s %s %s %lu" | |
131 | #define NUMERIC_STR_368 ":%s 368 %s %s :End of Channel Ban List" | |
132 | #define NUMERIC_STR_369 "%s :End of WHOWAS" | |
133 | #define NUMERIC_STR_371 ":%s" | |
134 | #define NUMERIC_STR_372 ":%s 372 %s :- %s" | |
135 | #define NUMERIC_STR_374 ":End of /INFO list." | |
136 | #define NUMERIC_STR_375 ":%s 375 %s :- %s Message of the Day - " | |
137 | #define NUMERIC_STR_376 ":%s 376 %s :End of /MOTD command." | |
138 | #define NUMERIC_STR_378 "%s :is connecting from *@%s %s" | |
139 | #define NUMERIC_STR_381 ":%s 381 %s :We would like to take this moment to remind you that we accept absolutely no liability for the insanity you're about to endure." | |
140 | #define NUMERIC_STR_382 ":%s 382 %s %s :Rehashing" | |
141 | #define NUMERIC_STR_386 ":%s 386 %s :%s" | |
142 | #define NUMERIC_STR_391 "%s :%s" | |
143 | #define NUMERIC_STR_401 "%s :No such nick/channel" | |
144 | #define NUMERIC_STR_402 "%s :No such server" | |
145 | #define NUMERIC_STR_403 "%s :No such channel" | |
146 | #define NUMERIC_STR_404 "%s :Cannot send to nick/channel" | |
147 | #define NUMERIC_STR_405 ":%s 405 %s %s :You have joined too many channels" | |
148 | #define NUMERIC_STR_406 ":%s :There was no such nickname" | |
149 | #define NUMERIC_STR_407 ":%s 407 %s %s :Too many recipients." | |
150 | #define NUMERIC_STR_409 ":%s 409 %s :No origin specified" | |
151 | #define NUMERIC_STR_410 ":%s 410 %s %s :Invalid CAP subcommand" | |
152 | #define NUMERIC_STR_411 ":%s 411 %s :No recipient given (%s)" | |
153 | #define NUMERIC_STR_412 ":%s 412 %s :No text to send" | |
154 | #define NUMERIC_STR_413 "%s :No toplevel domain specified" | |
155 | #define NUMERIC_STR_414 "%s :Wildcard in toplevel Domain" | |
156 | #define NUMERIC_STR_416 ":%s 416 %s %s :output too large, truncated" | |
157 | #define NUMERIC_STR_421 ":%s 421 %s %s :Unknown command" | |
158 | #define NUMERIC_STR_422 ":%s 422 %s :MOTD File is missing" | |
159 | #define NUMERIC_STR_431 ":%s 431 %s :No nickname given" | |
160 | #define NUMERIC_STR_432 ":%s 432 %s %s :Erroneous Nickname" | |
161 | #define NUMERIC_STR_433 ":%s 433 %s %s :Nickname is already in use." | |
162 | #define NUMERIC_STR_435 "%s %s :Cannot change nickname while banned on channel" | |
163 | #define NUMERIC_STR_436 "%s :Nickname collision KILL" | |
164 | #define NUMERIC_STR_437 ":%s 437 %s %s :Nick/channel is temporarily unavailable" | |
165 | #define NUMERIC_STR_438 ":%s 438 %s %s %s :Nick change too fast. Please wait %d seconds." | |
166 | #define NUMERIC_STR_440 "%s :Services are currently unavailable" | |
167 | #define NUMERIC_STR_441 "%s %s :They aren't on that channel" | |
168 | #define NUMERIC_STR_442 "%s :You're not on that channel" | |
169 | #define NUMERIC_STR_443 "%s %s :is already on channel" | |
170 | #define NUMERIC_STR_451 ":%s 451 * :You have not registered" | |
171 | #define NUMERIC_STR_456 ":%s 456 %s :Accept list is full" | |
172 | #define NUMERIC_STR_457 ":%s 457 %s %s :is already on your accept list" | |
173 | #define NUMERIC_STR_458 ":%s 458 %s %s :is not on your accept list" | |
174 | #define NUMERIC_STR_461 ":%s 461 %s %s :Not enough parameters" | |
175 | #define NUMERIC_STR_462 ":%s 462 %s :You may not reregister" | |
176 | #define NUMERIC_STR_464 ":%s 464 %s :Password Incorrect" | |
177 | #define NUMERIC_STR_465 ":%s 465 %s :You are banned from this server- %s" | |
178 | #define NUMERIC_STR_470 "%s %s :Forwarding to another channel" | |
179 | #define NUMERIC_STR_471 ":%s 471 %s %s :Cannot join channel (+l) - channel is full, try again later" | |
180 | #define NUMERIC_STR_472 ":%s 472 %s %c :is an unknown mode char to me" | |
181 | #define NUMERIC_STR_473 ":%s 473 %s %s :Cannot join channel (+i) - you must be invited" | |
182 | #define NUMERIC_STR_474 ":%s 474 %s %s :Cannot join channel (+b) - you are banned" | |
183 | #define NUMERIC_STR_475 ":%s 475 %s %s :Cannot join channel (+k) - bad key" | |
184 | #define NUMERIC_STR_477 ":%s 477 %s %s :Cannot join channel (+r) - you need to be identified with services" | |
185 | #define NUMERIC_STR_478 ":%s 478 %s %s %s :Channel ban list is full" | |
186 | #define NUMERIC_STR_479 "%s :Illegal channel name" | |
187 | #define NUMERIC_STR_480 ":%s 480 %s %s :Cannot join channel (+j) - throttle exceeded, try again later" | |
188 | #define NUMERIC_STR_481 ":Permission Denied - You're not an IRC operator" | |
189 | #define NUMERIC_STR_482 ":%s 482 %s %s :You're not a channel operator" | |
190 | #define NUMERIC_STR_483 ":You can't kill a server!" | |
191 | #define NUMERIC_STR_484 ":%s 484 %s %s %s :Cannot kick or deop a network service" | |
192 | #define NUMERIC_STR_486 "%s :You must log in with services to message this user" | |
193 | #define NUMERIC_STR_489 ":%s 489 %s %s :You're neither voiced nor channel operator" | |
194 | #define NUMERIC_STR_491 ":No appropriate operator blocks were found for your host" | |
195 | #define NUMERIC_STR_492 ":Cannot send to user %s (%s)" | |
196 | #define NUMERIC_STR_494 "%s :cannot answer you while you are %s, your message was not sent" | |
197 | #define NUMERIC_STR_501 ":%s 501 %s :Unknown MODE flag" | |
198 | #define NUMERIC_STR_502 ":%s 502 %s :Can't change mode for other users" | |
199 | #define NUMERIC_STR_504 ":%s 504 %s %s :User is not on this server" | |
200 | #define NUMERIC_STR_513 ":%s 513 %s :To connect type /QUOTE PONG %08X" | |
201 | #define NUMERIC_STR_517 "%s :This command has been administratively disabled" | |
202 | #define NUMERIC_STR_524 ":%s 524 %s %s :Help not found" | |
203 | #define NUMERIC_STR_670 ":STARTTLS successful, proceed with TLS handshake" | |
204 | #define NUMERIC_STR_671 "%s :%s" | |
205 | #define NUMERIC_STR_691 ":%s" | |
206 | #define NUMERIC_STR_702 ":%s 702 %s %s 0x%lx %s%s :[Version %s] [Description: %s]" | |
207 | #define NUMERIC_STR_703 ":%s 703 %s :End of /MODLIST." | |
208 | #define NUMERIC_STR_704 ":%s 704 %s %s :%s" | |
209 | #define NUMERIC_STR_705 ":%s 705 %s %s :%s" | |
210 | #define NUMERIC_STR_706 ":%s 706 %s %s :End of /HELP." | |
211 | #define NUMERIC_STR_707 ":%s 707 %s %s :Targets changing too fast, message dropped" | |
212 | #define NUMERIC_STR_708 ":%s 708 %s %s %s %s %s %s %s %s :%s" | |
213 | #define NUMERIC_STR_709 ":%s 709 %s %s %s %s %s %s %s :%s" | |
214 | #define NUMERIC_STR_710 ":%s 710 %s %s %s!%s@%s :has asked for an invite." | |
215 | #define NUMERIC_STR_711 ":%s 711 %s %s :Your KNOCK has been delivered." | |
216 | #define NUMERIC_STR_712 ":%s 712 %s %s :Too many KNOCKs (%s)." | |
217 | #define NUMERIC_STR_713 "%s :Channel is open." | |
218 | #define NUMERIC_STR_714 ":%s 714 %s %s :You are already on that channel." | |
219 | #define NUMERIC_STR_715 ":%s 715 %s :KNOCKs are disabled." | |
220 | #define NUMERIC_STR_716 "%s :is in %s mode and must manually allow you to message them." | |
221 | #define NUMERIC_STR_717 "%s :has been informed that you messaged them." | |
222 | #define NUMERIC_STR_718 ":%s 718 %s %s %s@%s :is messaging you, and you have umode %s." | |
223 | #define NUMERIC_STR_720 ":%s 720 %s :Start of OPER MOTD" | |
224 | #define NUMERIC_STR_721 ":%s 721 %s :%s" | |
225 | #define NUMERIC_STR_722 ":%s 722 %s :End of OPER MOTD" | |
226 | #define NUMERIC_STR_723 ":%s 723 %s %s :Insufficient oper privs" | |
227 | #define NUMERIC_STR_725 ":%s 725 %s %c %ld %s :%s" | |
228 | #define NUMERIC_STR_726 ":%s 726 %s %s :No matches" | |
229 | #define NUMERIC_STR_727 ":%s 727 %s %d %d %s!%s@%s %s :Local/remote clients match" | |
230 | #define NUMERIC_STR_728 ":%s 728 %s %s q %s %s %lu" | |
231 | #define NUMERIC_STR_729 ":%s 729 %s %s q :End of Channel Quiet List" | |
232 | #define NUMERIC_STR_730 ":%s 730 %s :%s" | |
233 | #define NUMERIC_STR_731 ":%s 731 %s :%s" | |
234 | #define NUMERIC_STR_732 ":%s 732 %s :%s" | |
235 | #define NUMERIC_STR_733 ":%s 733 %s :End of MONITOR list" | |
236 | #define NUMERIC_STR_734 ":%s 734 %s %d %s :Monitor list is full" | |
237 | #define NUMERIC_STR_740 ":%s 740 %s :%s" | |
238 | #define NUMERIC_STR_741 ":%s 741 %s :End of CHALLENGE" | |
239 | #define NUMERIC_STR_742 "%s %c %s :MODE cannot be set due to channel having an active MLOCK restriction policy" | |
240 | #define NUMERIC_STR_743 "%s %c %s :Invalid ban mask" | |
241 | #define NUMERIC_STR_750 "%d :matches" | |
242 | #define NUMERIC_STR_751 "%s %s %s %s %s %s :%s" | |
243 | #define NUMERIC_STR_900 ":%s 900 %s %s!%s@%s %s :You are now logged in as %s" | |
244 | #define NUMERIC_STR_901 ":%s 901 %s %s!%s@%s :You are now logged out" | |
245 | #define NUMERIC_STR_902 ":%s 902 %s :You must use a nick assigned to you" | |
246 | #define NUMERIC_STR_903 ":%s 903 %s :SASL authentication successful" | |
247 | #define NUMERIC_STR_904 ":%s 904 %s :SASL authentication failed" | |
248 | #define NUMERIC_STR_905 ":%s 905 %s :SASL message too long" | |
249 | #define NUMERIC_STR_906 ":%s 906 %s :SASL authentication aborted" | |
250 | #define NUMERIC_STR_907 ":%s 907 %s :You have already completed SASL authentication" | |
251 | #define NUMERIC_STR_908 ":%s 908 %s %s :are available SASL mechanisms" | |
252 | ||
253 | #endif |