diff --git a/install b/install new file mode 100755 index 0000000..99bd34c --- /dev/null +++ b/install @@ -0,0 +1,7 @@ +#!/bin/bash +#Basic Install Script +echo "This will install to~/.irssi/scripts and create a simlink to autostart the script." +mkdir -p ~/.irssi/scripts/autorun/ +cp sound.pl ~/.irssi/scripts/ +ln -s ~/.irssi/scripts/sound.pl ~/.irssi/scripts/autorun/sound.pl +echo "Done!" diff --git a/sound.pl b/sound.pl index 37bdb03..4b13dfb 100755 --- a/sound.pl +++ b/sound.pl @@ -42,7 +42,7 @@ sub pri_msg { #-------------------------------------------------------------------- # The sound playing function for nick mensioning message #-------------------------------------------------------------------- - + sub nick_msg { my ($server,$msg,$nick,$address,$target) = @_; system("play -qn -V0 synth 0.5 tri A3:D3 tri D3:A3 remix - &");