1
0
mirror of https://github.com/irssi/irssi.git synced 2024-08-04 03:34:18 -04:00
irssi/scripts/hello.pl
2001-07-16 20:22:45 +00:00

13 lines
246 B
Perl

# "Hello, world!" script :) /hello <nick> sends "Hello, world!" to <nick>
use Irssi;
use strict;
sub cmd_hello {
my ($data, $server, $channel) = @_;
$server->command("/msg $data Hello, world!");
}
Irssi::command_bind('hello', 'cmd_hello');