aboutsummaryrefslogtreecommitdiffstats
path: root/history-search/help_a.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_a.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_a.pl')
-rw-r--r--history-search/help_a.pl15
1 files changed, 15 insertions, 0 deletions
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;
+ }
+ }
+);