Added install script and fixed line spacing in sound.pl. this is only a basic install script.

This commit is contained in:
Jeremiah Ticket 2016-08-23 16:20:45 -08:00
parent 36323fe887
commit dfca0da773
2 changed files with 8 additions and 1 deletions

7
install Executable file
View File

@ -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!"

View File

@ -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 - &");