mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 00:22:17 +02:00
Irssi 0.7.27 released.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@130 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3d513eebfa
commit
f5fc624781
15 changed files with 135 additions and 29 deletions
12
examples/hello.pl
Normal file
12
examples/hello.pl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# "Hello, world!" script :) /hello <nick> sends "Hello, world!" to <nick>
|
||||
|
||||
use Irssi;
|
||||
|
||||
sub cmd_hello {
|
||||
my ($data, $server, $channel) = @_;
|
||||
|
||||
$server->command("/msg $data Hello, world!");
|
||||
return 1;
|
||||
}
|
||||
|
||||
Irssi::command_bind('hello', '', 'cmd_hello');
|
||||
Loading…
Add table
Add a link
Reference in a new issue