Mercurial > pidgin
comparison src/protocols/irc/parse.c @ 10609:6239870efd8e
[gaim-migrate @ 12055]
Two-argument whois from rlaager, ported forward from oldstatus
committer: Tailor Script <tailor@pidgin.im>
| author | Ethan Blanton <elb@pidgin.im> |
|---|---|
| date | Fri, 18 Feb 2005 04:22:53 +0000 |
| parents | cdeb727d1de3 |
| children | eac0f2b244c2 |
comparison
equal
deleted
inserted
replaced
| 10608:adf7adc7da76 | 10609:6239870efd8e |
|---|---|
| 116 { "j", "cv", irc_cmd_join, N_("j <room1>[,room2][,...] [key1[,key2][,...]]: Enter one or more channels, optionally providing a channel key for each if needed.") }, | 116 { "j", "cv", irc_cmd_join, N_("j <room1>[,room2][,...] [key1[,key2][,...]]: Enter one or more channels, optionally providing a channel key for each if needed.") }, |
| 117 { "join", "cv", irc_cmd_join, N_("join <room1>[,room2][,...] [key1[,key2][,...]]: Enter one or more channels, optionally providing a channel key for each if needed.") }, | 117 { "join", "cv", irc_cmd_join, N_("join <room1>[,room2][,...] [key1[,key2][,...]]: Enter one or more channels, optionally providing a channel key for each if needed.") }, |
| 118 { "kick", "n:", irc_cmd_kick, N_("kick <nick> [message]: Remove someone from a channel. You must be a channel operator to do this.") }, | 118 { "kick", "n:", irc_cmd_kick, N_("kick <nick> [message]: Remove someone from a channel. You must be a channel operator to do this.") }, |
| 119 { "list", ":", irc_cmd_list, N_("list: Display a list of chat rooms on the network. <i>Warning, some servers may disconnect you upon doing this.</i>") }, | 119 { "list", ":", irc_cmd_list, N_("list: Display a list of chat rooms on the network. <i>Warning, some servers may disconnect you upon doing this.</i>") }, |
| 120 { "me", ":", irc_cmd_ctcp_action, N_("me <action to perform>: Perform an action.") }, | 120 { "me", ":", irc_cmd_ctcp_action, N_("me <action to perform>: Perform an action.") }, |
| 121 { "mode", ":", irc_cmd_mode, N_("mode <nick|channel> <+|-><A-Za-z>: Set or unset a channel or user mode.") }, | 121 { "mode", ":", irc_cmd_mode, N_("mode <+|-><A-Za-z> <nick|channel>: Set or unset a channel or user mode.") }, |
| 122 { "msg", "t:", irc_cmd_privmsg, N_("msg <nick> <message>: Send a private message to a user (as opposed to a channel).") }, | 122 { "msg", "t:", irc_cmd_privmsg, N_("msg <nick> <message>: Send a private message to a user (as opposed to a channel).") }, |
| 123 { "names", "c", irc_cmd_names, N_("names [channel]: List the users currently in a channel.") }, | 123 { "names", "c", irc_cmd_names, N_("names [channel]: List the users currently in a channel.") }, |
| 124 { "nick", "n", irc_cmd_nick, N_("nick <new nickname>: Change your nickname.") }, | 124 { "nick", "n", irc_cmd_nick, N_("nick <new nickname>: Change your nickname.") }, |
| 125 { "op", ":", irc_cmd_op, N_("op <nick1> [nick2] ...: Grant channel operator status to someone. You must be a channel operator to do this.") }, | 125 { "op", ":", irc_cmd_op, N_("op <nick1> [nick2] ...: Grant channel operator status to someone. You must be a channel operator to do this.") }, |
| 126 { "operwall", ":", irc_cmd_wallops, N_("operwall <message>: If you don't know what this is, you probably can't use it.") }, | 126 { "operwall", ":", irc_cmd_wallops, N_("operwall <message>: If you don't know what this is, you probably can't use it.") }, |
| 133 { "time", "", irc_cmd_time, N_("time: Displays the current local time at the IRC server.") }, | 133 { "time", "", irc_cmd_time, N_("time: Displays the current local time at the IRC server.") }, |
| 134 { "topic", ":", irc_cmd_topic, N_("topic [new topic]: View or change the channel topic.") }, | 134 { "topic", ":", irc_cmd_topic, N_("topic [new topic]: View or change the channel topic.") }, |
| 135 { "umode", ":", irc_cmd_mode, N_("umode <+|-><A-Za-z>: Set or unset a user mode.") }, | 135 { "umode", ":", irc_cmd_mode, N_("umode <+|-><A-Za-z>: Set or unset a user mode.") }, |
| 136 { "voice", ":", irc_cmd_op, N_("voice <nick1> [nick2] ...: Grant channel voice status to someone. You must be a channel operator to do this.") }, | 136 { "voice", ":", irc_cmd_op, N_("voice <nick1> [nick2] ...: Grant channel voice status to someone. You must be a channel operator to do this.") }, |
| 137 { "wallops", ":", irc_cmd_wallops, N_("wallops <message>: If you don't know what this is, you probably can't use it.") }, | 137 { "wallops", ":", irc_cmd_wallops, N_("wallops <message>: If you don't know what this is, you probably can't use it.") }, |
| 138 { "whois", "n", irc_cmd_whois, N_("whois <nick>: Get information on a user.") }, | 138 { "whois", "tt", irc_cmd_whois, N_("whois [server] <nick>: Get information on a user.") }, |
| 139 { NULL, NULL, NULL } | 139 { NULL, NULL, NULL } |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 static GaimCmdRet irc_parse_gaim_cmd(GaimConversation *conv, const gchar *cmd, | 142 static GaimCmdRet irc_parse_gaim_cmd(GaimConversation *conv, const gchar *cmd, |
| 143 gchar **args, gchar **error, void *data) | 143 gchar **args, gchar **error, void *data) |
