aboutsummaryrefslogtreecommitdiffstats
path: root/history-search/help_b.pl
diff options
context:
space:
mode:
authorTom Feist <shabble@cowu.be>2010-07-24 16:35:43 +0000
committerTom Feist <shabble@cowu.be>2010-07-24 16:35:43 +0000
commit501309887a7499b91c2b9fa8f76180c2738d7990 (patch)
tree5bc5f26da277c8b4c7d66c5863ba365723dc6c53 /history-search/help_b.pl
parentmisc stuffs (diff)
downloadirssi-scripts-501309887a7499b91c2b9fa8f76180c2738d7990.tar.gz
irssi-scripts-501309887a7499b91c2b9fa8f76180c2738d7990.zip
something confusing going on here, have I got nested repos?
Diffstat (limited to 'history-search/help_b.pl')
-rw-r--r--history-search/help_b.pl15
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;
+ }
+ }
+);