An attempt to fix storm_dragon's nick bug where it'd play the hilight sound on the word nick.
This commit is contained in:
parent
e7adb60b81
commit
2cea7c7fd8
4
sound.pl
4
sound.pl
@ -43,7 +43,7 @@ sub pri_msg {
|
|||||||
# The sound playing function for nick mensioning message
|
# The sound playing function for nick mensioning message
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
|
||||||
sub nick_msg {
|
sub hilight_msg {
|
||||||
my ($server,$msg,$nick,$address,$target) = @_;
|
my ($server,$msg,$nick,$address,$target) = @_;
|
||||||
system("play -qn -V0 synth 0.5 tri A3:D3 tri D3:A3 remix - &");
|
system("play -qn -V0 synth 0.5 tri A3:D3 tri D3:A3 remix - &");
|
||||||
}
|
}
|
||||||
@ -54,6 +54,6 @@ sub nick_msg {
|
|||||||
|
|
||||||
Irssi::signal_add("beep", "nick_msg");Irssi::signal_add_last("message public", "pub_msg");
|
Irssi::signal_add("beep", "nick_msg");Irssi::signal_add_last("message public", "pub_msg");
|
||||||
Irssi::signal_add_last("message private", "pri_msg");
|
Irssi::signal_add_last("message private", "pri_msg");
|
||||||
Irssi::signal_add_last("message hilight", "nick_msg");
|
Irssi::signal_add_last("message hilight", "hilight_msg");
|
||||||
#- end
|
#- end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user