1 # Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - rename.pl
2 # Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
6 [ irc => q{:(([^! ]*)![^ ]*) (?i:PRIVMSG) [^&#%]\S* :(.*)} => sub {
7 my ($hostmask, $nick, $command) = @_;
9 return 0 if (($store{logins}{$hostmask} || 0) < time());
11 if ($command =~ m/^name (\d+) (.*)/i) {
12 out dp => 0, "prvm_edictset server $1 netname \"$2\"";