1 # Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - echo-rcon.pl
2 # Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
6 [ dp => q{server received rcon command from (.*): (.*)} => sub {
7 my ($origin, $cmd) = @_;
8 return 0 if ($origin eq $config{dp_listen}); #do not relay rcon2irc commands
9 my $origin = color_dp2irc $origin;
10 out irc => 0, "PRIVMSG $config{irc_channel} :\00302* admin\017 command recieved from $origin: \00304$cmd\017";