From 501309887a7499b91c2b9fa8f76180c2738d7990 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Sat, 24 Jul 2010 17:35:43 +0100 Subject: something confusing going on here, have I got nested repos? --- history-search/help_a.pl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 history-search/help_a.pl (limited to 'history-search/help_a.pl') diff --git a/history-search/help_a.pl b/history-search/help_a.pl new file mode 100644 index 0000000..53d902c --- /dev/null +++ b/history-search/help_a.pl @@ -0,0 +1,15 @@ +use strict; +use warnings; + +use Irssi; + +our $help = "this is help for a"; + +Irssi::command_bind('help', sub { + if ($_[0] eq 'test_a') { + Irssi::print($help, MSGLEVEL_CLIENTCRAP); + Irssi::signal_stop(); + return; + } + } +); -- cgit v1.2.3