25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
Irssi sound by:
|
|
Jeremiah Ticket
|
|
Storm Dragon: http://stormdragon.tk
|
|
|
|
Adds sounds to irssi for different events, E.g. public message and private message received.
|
|
This script uses sox to generate it's sounds, so make sure sox is somewhere in your path.
|
|
Place sound.pl in .irssi/scripts/
|
|
Then in irssi do:
|
|
/script load sound
|
|
If you want to autorun the script, place the script in or simlink to ~/.irssi/scripts/autorun/
|
|
|
|
|
|
There is a basic install script, just run:
|
|
./install
|
|
This install script creates the folder ~/.irssi/scripts/autorun if it doesn't exist and simlinks the script to start automatically.
|
|
|
|
Priority alerts for public messages:
|
|
Create a file at ~/.irssi/priority_messages (one regex per line, # comments allowed).
|
|
Example pattern: ^\S+-\d+ is requesting assistance\.$
|
|
Matching public messages will use priority_sound_command instead of pub_sound_command.
|
|
Use /set priority_messages_file to change the file path if needed.
|
|
Reload the regex file with: /sound priority_reload
|
|
Check a message against patterns with: /sound priority_check <message>
|
|
Use /set priority_sound_flood to control priority alert cooldown.
|