Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (21 sloc) 0.422 kB
#!/usr/bin/perl -w
use strict;
my $file = shift @ARGV;
my $last = "";
while (1) {
my $foo = `tail -n 2 $file`;
if ($foo ne $last) {
$last = $foo;
chomp $foo;
$foo =~ s/\(\d+:\d+:\d+\)//gs;
use Net::OpenSoundControl::Client;
my $osc = Net::OpenSoundControl::Client->new(Host => "127.0.0.1",
Port => 7777
)
or die;
$osc->send(['/text/irc',
's', $foo
]);
}
sleep(5);
}
Jump to Line
Something went wrong with that request. Please try again.