Created SILC Runtime Toolkit git repository Part I.
[runtime.git] / apps / irssi / scripts / examples / command.pl
diff --git a/apps/irssi/scripts/examples/command.pl b/apps/irssi/scripts/examples/command.pl
deleted file mode 100644 (file)
index 77a9d7f..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-# Example how to create your own /commands:
-
-# /HELLO <nick> - sends a "Hello, world!" to given nick.
-
-use Irssi;
-use strict;
-use vars qw($VERSION %IRSSI);
-
-$VERSION = "1.00";
-%IRSSI = (
-    authors     => 'Timo Sirainen',
-    name        => 'command',
-    description => 'Command example',
-    license     => 'Public Domain'
-);
-
-sub cmd_hello {
-       my ($data, $server, $channel) = @_;
-
-       $server->command("/msg $data Hello, world!");
-}
-
-Irssi::command_bind('hello', 'cmd_hello');