/[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.13 by flashcode, Thu Oct 9 22:19:56 2003 UTC revision 1.14 by flashcode, Sat Oct 11 00:25:47 2003 UTC
# Line 49  t_irc_command irc_commands[] = Line 49  t_irc_command irc_commands[] =
49    { "devoice", N_("removes voice from nickname(s)"),    { "devoice", N_("removes voice from nickname(s)"),
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      { "die", N_("shutdown the server"),
53        "", "",
54        0, 0, 1, NULL, irc_cmd_send_die, NULL },
55    { "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 },
56    { "info", N_("get information describing the server"),    { "info", N_("get information describing the server"),
57      N_("[target]"),      N_("[target]"),
# Line 58  t_irc_command irc_commands[] = Line 61  t_irc_command irc_commands[] =
61      N_("nickname channel"),      N_("nickname channel"),
62      N_("nickname: nick to invite\nchannel: channel to invite"),      N_("nickname: nick to invite\nchannel: channel to invite"),
63      2, 2, 1, NULL, irc_cmd_send_invite, NULL },      2, 2, 1, NULL, irc_cmd_send_invite, NULL },
64      { "ison", N_("check if a nickname is currently on IRC"),
65        N_("nickname [nickname ...]"),
66        N_("nickname: nickname"),
67        1, MAX_ARGS, 1, NULL, irc_cmd_send_ison, NULL },
68    { "join", N_("join a channel"),    { "join", N_("join a channel"),
69      N_("channel[,channel] [key[,key]]"),      N_("channel[,channel] [key[,key]]"),
70      N_("channel: channel name to join\nkey: key to join the channel"),      N_("channel: channel name to join\nkey: key to join the channel"),
# Line 180  t_irc_command irc_commands[] = Line 187  t_irc_command irc_commands[] =
187      N_("server commnent"), N_("server: server name\ncomment: comment for quit"),      N_("server commnent"), N_("server: server name\ncomment: comment for quit"),
188      2, 2, 1, NULL, irc_cmd_send_squit, NULL },      2, 2, 1, NULL, irc_cmd_send_squit, NULL },
189    { "stats", N_("query statistics about server"),    { "stats", N_("query statistics about server"),
190      "[query [server]]",      N_("[query [server]]"),
191      "query: c/h/i/k/l/m/o/y/u (see RFC1459)\nserver: server name",      N_("query: c/h/i/k/l/m/o/y/u (see RFC1459)\nserver: server name"),
192      0, 2, 1, NULL, irc_cmd_send_stats, NULL },      0, 2, 1, NULL, irc_cmd_send_stats, NULL },
193      { "summon", N_("give users who are on a host running an IRC server a message "
194        "asking them to please join IRC"),
195        N_("user [target [channel]]"),
196        N_("user: username\ntarget: server name\nchannel: channel name"),
197        1, 3, 1, NULL, irc_cmd_send_summon, NULL },
198    { "time", N_("query local time from server"),    { "time", N_("query local time from server"),
199      N_("[target]"), N_("target: query time from specified server"),      N_("[target]"), N_("target: query time from specified server"),
200      0, 1, 1, NULL, irc_cmd_send_time, NULL },      0, 1, 1, NULL, irc_cmd_send_time, NULL },
# Line 193  t_irc_command irc_commands[] = Line 205  t_irc_command irc_commands[] =
205    { "trace", N_("find the route to specific server"),    { "trace", N_("find the route to specific server"),
206      N_("[target]"), N_("target: server"),      N_("[target]"), N_("target: server"),
207      0, 1, 1, NULL, irc_cmd_send_trace, NULL },      0, 1, 1, NULL, irc_cmd_send_trace, NULL },
208      { "userhost", N_("return a list of information about nicknames"),
209        N_("nickname [nickname ...]"), N_("nickname: nickname"),
210        1, MAX_ARGS, 1, NULL, irc_cmd_send_userhost, NULL },
211      { "users", N_("list of users logged into the server"),
212        N_("[target]"), N_("target: server"),
213        0, 1, 1, NULL, irc_cmd_send_users, NULL },
214    { "version", N_("gives the version info of nick or server (current or specified)"),    { "version", N_("gives the version info of nick or server (current or specified)"),
215      N_("[server | nickname]"), N_("server: server name\nnickname: nickname"),      N_("[server | nickname]"), N_("server: server name\nnickname: nickname"),
216      0, 1, 1, NULL, irc_cmd_send_version, NULL },      0, 1, 1, NULL, irc_cmd_send_version, NULL },
217    { "voice", N_("gives voice to nickname(s)"),    { "voice", N_("gives voice to nickname(s)"),
218      N_("nickname [nickname]"), "",      N_("nickname [nickname]"), "",
219      1, 1, 1, irc_cmd_send_voice, NULL, NULL },      1, 1, 1, irc_cmd_send_voice, NULL, NULL },
220      { "wallops", N_("send a message to all currently connected users who have "
221        "set the 'w' user mode for themselves"),
222        N_("text"), N_("text to send"),
223        1, MAX_ARGS, 1, NULL, irc_cmd_send_wallops, NULL },
224    { "who", N_("generate a query which returns a list of information"),    { "who", N_("generate a query which returns a list of information"),
225      N_("[mask [\"o\"]]"), N_("mask: only information which match this mask\n"      N_("[mask [\"o\"]]"), N_("mask: only information which match this mask\n"
226      "o: only operators are returned according to the mask supplied\n"),      "o: only operators are returned according to the mask supplied\n"),
# Line 241  t_irc_command irc_commands[] = Line 263  t_irc_command irc_commands[] =
263    { "268", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },    { "268", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },
264    { "269", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },    { "269", N_("a server message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_msg },
265    { "301", N_("away message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_301 },    { "301", N_("away message"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_301 },
266      { "302", N_("userhost"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_302 },
267      { "303", N_("ison"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_303 },
268    { "305", N_("unaway"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_reply },    { "305", N_("unaway"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_reply },
269    { "306", N_("now away"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_reply },    { "306", N_("now away"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_server_reply },
270    { "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 },

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

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