Implemented /BIND [<key> [<action> [<data>]]] command.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@435 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-08 22:31:11 +00:00 committed by cras
commit 3164aecad0
5 changed files with 76 additions and 14 deletions

View file

@ -97,15 +97,13 @@ FORMAT_REC fecommon_core_formats[] = {
{ "module_unloaded", "Unloaded module %_$0", 1, { 0 } },
/* ---- */
{ NULL, "Misc", 0 },
{ NULL, "Commands", 0 },
{ "not_toggle", "Value must be either ON, OFF or TOGGLE", 0 },
{ "perl_error", "Perl error: $0", 1, { 0 } },
{ "command_unknown", "Unknown command: $0", 1, { 0 } },
{ "command_ambiguous", "Ambiguous command: $0", 1, { 0 } },
{ "option_unknown", "Unknown option: $0", 1, { 0 } },
{ "option_ambiguous", "Ambiguous option: $0", 1, { 0 } },
{ "option_missing_arg", "Missing required argument for: $0", 1, { 0 } },
{ "command_unknown", "Unknown command: $0", 1, { 0 } },
{ "command_ambiguous", "Ambiguous command: $0", 1, { 0 } },
{ "not_enough_params", "Not enough parameters given", 0 },
{ "not_connected", "Not connected to IRC server yet", 0 },
{ "not_joined", "Not joined to any channels yet", 0 },
@ -113,5 +111,13 @@ FORMAT_REC fecommon_core_formats[] = {
{ "chan_not_synced", "Channel not fully synchronized yet, try again after a while", 0 },
{ "not_good_idea", "Doing this is not a good idea. Add -YES if you really mean it", 0 },
/* ---- */
{ NULL, "Misc", 0 },
{ "not_toggle", "Value must be either ON, OFF or TOGGLE", 0 },
{ "perl_error", "Perl error: $0", 1, { 0 } },
{ "bind_key", "$[10]0 $1 $2", 3, { 0, 0, 0 } },
{ "bind_unknown_id", "Unknown bind action: $0", 1, { 0 } },
{ NULL, NULL, 0 }
};