mirror of https://tildegit.org/Sunblade/Xenia.git
Update xenia.pl
This commit is contained in:
parent
d54a896119
commit
a2dbd0bfb4
4
xenia.pl
4
xenia.pl
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue