Added the & char so the script doesn't wait to stop speaking before other script actions run. Script was holding up the sound script.

This commit is contained in:
Jeremiah Ticket 2023-10-05 12:04:19 -06:00
parent 2b7d0c83c3
commit 617bc2a002

View File

@ -45,7 +45,7 @@ sub speak_message {
my $SpeechRate = Irssi::settings_get_int("speech_rate");
my $SpeechVoice = Irssi::settings_get_str("speech_voice");
# Speak The Message
system("espeak-ng -v $SpeechVoice -s $SpeechRate \"$summary $body\"");
system("espeak-ng -v $SpeechVoice -s $SpeechRate \"$summary $body\"&");
}
# Handle incoming public messages: