diff options
Diffstat (limited to 'history-search/help_b.pl')
-rw-r--r-- | history-search/help_b.pl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/history-search/help_b.pl b/history-search/help_b.pl new file mode 100644 index 0000000..8b57a45 --- /dev/null +++ b/history-search/help_b.pl @@ -0,0 +1,15 @@ +use strict; +use warnings; + +use Irssi; + +our $help = "this is help for b"; + +Irssi::command_bind('help', sub { + if ($_[0] eq 'test_b') { + Irssi::print($help, MSGLEVEL_CLIENTCRAP); + Irssi::signal_stop(); + return; + } + } +); |