/[weechat]/weechat/src/irc/irc-commands.c
ViewVC logotype

Diff of /weechat/src/irc/irc-commands.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by flashcode, Wed Oct 8 22:24:24 2003 UTC revision 1.13 by flashcode, Thu Oct 9 22:19:56 2003 UTC
# Line 50  t_irc_command irc_commands[] = Line 50  t_irc_command irc_commands[] =
50      N_("nickname [nickname]"), "",      N_("nickname [nickname]"), "",
51      1, 1, 1, irc_cmd_send_devoice, NULL, NULL },      1, 1, 1, irc_cmd_send_devoice, NULL, NULL },
52    { "error", N_("error received from IRC server"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_error },    { "error", N_("error received from IRC server"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_error },
53      { "info", N_("get information describing the server"),
54        N_("[target]"),
55        N_("target: server name"),
56        0, 1, 1, NULL, irc_cmd_send_info, NULL },
57    { "invite", N_("invite a nick on a channel"),    { "invite", N_("invite a nick on a channel"),
58      N_("nickname channel"),      N_("nickname channel"),
59      N_("nickname: nick to invite\nchannel: channel to invite"),      N_("nickname: nick to invite\nchannel: channel to invite"),
# Line 165  t_irc_command irc_commands[] = Line 169  t_irc_command irc_commands[] =
169      N_("distribution: visibility of service\n"      N_("distribution: visibility of service\n"
170      "type: reserved for future usage"),      "type: reserved for future usage"),
171      6, 6, 1, NULL, irc_cmd_send_service, NULL },      6, 6, 1, NULL, irc_cmd_send_service, NULL },
172      { "servlist", N_("list services currently connected to the network"),
173        N_("[mask [type]]"), N_("mask: list only services matching this mask\n"
174        "type: list only services of this type"),
175        0, 2, 1, NULL, irc_cmd_send_servlist, NULL },
176      { "squery", N_("deliver a message to a service"),
177        N_("service text"), N_("service: name of service\ntext: text to send"),
178        2, 2, 1, NULL, irc_cmd_send_squery, NULL },
179    { "squit", N_("disconnect server links"),    { "squit", N_("disconnect server links"),
180      N_("server commnent"), N_("server: server name\ncomment: comment for quit"),      N_("server commnent"), N_("server: server name\ncomment: comment for quit"),
181      2, 2, 1, NULL, irc_cmd_send_squit, NULL },      2, 2, 1, NULL, irc_cmd_send_squit, NULL },
# Line 188  t_irc_command irc_commands[] = Line 199  t_irc_command irc_commands[] =
199    { "voice", N_("gives voice to nickname(s)"),    { "voice", N_("gives voice to nickname(s)"),
200      N_("nickname [nickname]"), "",      N_("nickname [nickname]"), "",
201      1, 1, 1, irc_cmd_send_voice, NULL, NULL },      1, 1, 1, irc_cmd_send_voice, NULL, NULL },
202      { "who", N_("generate a query which returns a list of information"),
203        N_("[mask [\"o\"]]"), N_("mask: only information which match this mask\n"
204        "o: only operators are returned according to the mask supplied\n"),
205        0, 2, 1, NULL, irc_cmd_send_who, NULL },
206    { "whois", N_("query information about user(s)"),    { "whois", N_("query information about user(s)"),
207      N_("[server] nickname[,nickname]"), N_("server: server name\n"      N_("[server] nickname[,nickname]"), N_("server: server name\n"
208      "nickname: nickname (may be a mask)"),      "nickname: nickname (may be a mask)"),
209      1, MAX_ARGS, 1, NULL, irc_cmd_send_whois, NULL },      1, MAX_ARGS, 1, NULL, irc_cmd_send_whois, NULL },
210      { "whowas", N_("ask for information about a nickname which no longer exists"),
211        N_("nickname [,nickname [,nickname ...]] [count [target]]"),
212        N_("nickname: nickname to search\ncount: number of replies to return "
213        "(full search if negative number)\n"
214        "target: reply should match this mask"),
215        1, MAX_ARGS, 1, NULL, irc_cmd_send_whowas, NULL },
216    { "001", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },    { "001", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },
217    { "002", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },    { "002", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },
218    { "003", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },    { "003", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },
# Line 225  t_irc_command irc_commands[] = Line 246  t_irc_command irc_commands[] =
246    { "311", N_("whois (user)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_311 },    { "311", N_("whois (user)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_311 },
247    { "312", N_("whois (server)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_312 },    { "312", N_("whois (server)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_312 },
248    { "313", N_("whois (operator)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_313 },    { "313", N_("whois (operator)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_313 },
249      { "314", N_("whowas"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_314 },
250      { "315", N_("end of /who list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },
251    { "317", N_("whois (idle)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_317 },    { "317", N_("whois (idle)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_317 },
252    { "318", N_("whois (end)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_318 },    { "318", N_("whois (end)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_318 },
253    { "319", N_("whois (channels)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_319 },    { "319", N_("whois (channels)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_319 },
# Line 241  t_irc_command irc_commands[] = Line 264  t_irc_command irc_commands[] =
264      "", "",      "", "",
265      0, 0, 1, NULL, NULL, irc_cmd_recv_333 },      0, 0, 1, NULL, NULL, irc_cmd_recv_333 },
266    { "351", N_("server version"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_351 },    { "351", N_("server version"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_351 },
267      { "352", N_("who"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_352 },
268    { "353", N_("list of nicks on channel"),    { "353", N_("list of nicks on channel"),
269      N_("channel :[[@|+]nick ...]"),      N_("channel :[[@|+]nick ...]"),
270      N_("channel: name of channel\nnick: nick on the channel"),      N_("channel: name of channel\nnick: nick on the channel"),
# Line 248  t_irc_command irc_commands[] = Line 272  t_irc_command irc_commands[] =
272    { "364", N_("links"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },    { "364", N_("links"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },
273    { "365", N_("end of /links list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },    { "365", N_("end of /links list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },
274    { "366", N_("end of /names list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_366 },    { "366", N_("end of /names list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_366 },
275      { "369", N_("end of /whowas list"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },
276    { "371", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },    { "371", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },
277    { "372", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },    { "372", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },
278    { "373", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },    { "373", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26