From 91f126ae4c9ea90336bdeb24001fadca79439edc Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Sat, 24 Jul 2010 18:23:13 +0100 Subject: moved most tests to feature-tests/ --- feature-tests/help_b.pl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 feature-tests/help_b.pl (limited to 'feature-tests/help_b.pl') diff --git a/feature-tests/help_b.pl b/feature-tests/help_b.pl new file mode 100644 index 0000000..8b57a45 --- /dev/null +++ b/feature-tests/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; + } + } +); -- cgit v1.2.3