mirror of
https://tildegit.org/Sunblade/Xenia.git
synced 2026-01-24 04:20:17 +00:00
Compare commits
2 Commits
d54a896119
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
faa4ee5461 | ||
|
|
a2dbd0bfb4 |
@@ -2,4 +2,6 @@
|
||||
|
||||
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.
|
||||
4
xenia.pl
4
xenia.pl
@@ -15,8 +15,8 @@ sub event_privmsg {
|
||||
# $data = "nick/#channel :text"
|
||||
my ($server, $data, $nick, $address) = @_;
|
||||
my ($target, $text) = split(/ :/, $data, 2);
|
||||
if ($target eq '#Enigma') {
|
||||
if ($text eq '!try') {
|
||||
if (lc($target) eq '#enigma') {
|
||||
if (lc($text) eq '!try') {
|
||||
try($nick, $target, $data, $server, $text);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user