Compare commits

..

2 Commits

Author SHA1 Message Date
Sunblade
faa4ee5461 Update README.md 2025-11-26 19:11:57 +00:00
Sunblade
a2dbd0bfb4 Update xenia.pl 2025-10-22 18:41:16 +00:00
2 changed files with 5 additions and 3 deletions

View File

@@ -2,4 +2,6 @@
Script for Irssi. Script for Irssi.
Functions for Xenia, my IRC bot on irc.newnet.net Functions for Xenia, my IRC bot on irc.newnet.net
At some point i plan port it to Limnoria or Eggdrop.

View File

@@ -15,8 +15,8 @@ sub event_privmsg {
# $data = "nick/#channel :text" # $data = "nick/#channel :text"
my ($server, $data, $nick, $address) = @_; my ($server, $data, $nick, $address) = @_;
my ($target, $text) = split(/ :/, $data, 2); my ($target, $text) = split(/ :/, $data, 2);
if ($target eq '#Enigma') { if (lc($target) eq '#enigma') {
if ($text eq '!try') { if (lc($text) eq '!try') {
try($nick, $target, $data, $server, $text); try($nick, $target, $data, $server, $text);
} }
} }