diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-08-22 10:04:17 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-08-22 10:04:17 +0000 |
commit | 77e3fb3c8312031572e6aa6d1962a9bb3faf68b8 (patch) | |
tree | 1d263ed3065f21140628c25c69a6f8cdbc3d3c93 /src/common/weeconfig.c | |
parent | 1f801ff07964a9c2d605a97715b5fea0aafd078c (diff) | |
download | weechat-77e3fb3c8312031572e6aa6d1962a9bb3faf68b8.zip |
Added arguments $1,$2,..,$9 and $* for alias (task #5831), added special vars $nick/$channel/$server for server_command, alias and plugin command handlers
Diffstat (limited to 'src/common/weeconfig.c')
-rw-r--r-- | src/common/weeconfig.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/weeconfig.c b/src/common/weeconfig.c index 08f4db61c..c04265f33 100644 --- a/src/common/weeconfig.c +++ b/src/common/weeconfig.c @@ -37,6 +37,7 @@ #include "weechat.h" #include "weeconfig.h" +#include "alias.h" #include "command.h" #include "fifo.h" #include "log.h" @@ -1008,7 +1009,8 @@ t_config_option weechat_options_server[] = "", NULL, NULL, &(cfg_server.hostname), NULL }, { "server_command", N_("command(s) to run when connected to server"), N_("command(s) to run when connected to server (many commands should be " - "separated by ';', use '\\;' for a semicolon)"), + "separated by ';', use '\\;' for a semicolon, special variables $nick, " + "$channel and $server are replaced by their value)"), OPTION_TYPE_STRING, 0, 0, 0, "", NULL, NULL, &(cfg_server.command), NULL }, { "server_command_delay", N_("delay (in seconds) after command was executed"), |