• If you need help or want to discuss things, you now can also join us on our Discord Server!
Audio/TTS Notification on Join/Left

TS3 Audio/TTS Notification on Join/Left 1.2.1

No permission to download

Please update the Sinusbot to the latest version!

Hello!

Description:

This is a useful script for small and medium Teamspeak servers.

How many times have you wondered who just entered or left the channel and could not look it up, for example, because you are currently playing a game or watching a movie? That can be over now.

If you want, you can enable the following options:

Options:
Any client joining the server, joining a particular channel, or joining the channel where the bot is located can trigger a ...

☑ random-selected personalized (welcome) voice message
- using text-to-speech technology.​
If you want you can define as-many-as-want welcome messages using multiline editor.​
If you don't want you can fill the multiline with "none" or "undefined".​
user "Fantastic" connect and hear Hello Fantastic, nice to see you.
random-selected (welcome) audio file
If you want you can define as-many-as-want audio files.​
If you don't want you can leave the field blank.​
user "Fantastic" connect/join and the bot is playing an audio file.
Script selects one from all (TTS & file) using random function and "talk" to user.
Any client leaving the server, leaving a particular channel, or leaving the channel where the bot is located can trigger a ...

☑ random-selected personalized voice message
- using text-to-speech technology.​
If you want you can define as-many-as-want "goodbye" messages using multiline editor.​
If you don't want you can fill the multiline with "none" or "undefined".​
user "Fantastic" left the defined Channel and the other ones in the Channel hears Fantastic left the Channel.
☑ random-selected audio file
If you want you can define as-many-as-want audio files.​
If you don't want you can leave the field blank.​
user "Fantastic" left the defined Channel and the other ones in the Channel hearing a audio file.
Script selects one line from all (TTS & file) using random function and "talk" to user.

Features:
Multi-language (de|en) support for messages:
  • The settings are in German and in English.
2.jpg

  • The TTS-locale can be set up in the settings.

    3.jpg
If the first feature is not enough for you, here comes your feature:
Multi TTS language support:

Sometimes a word that you want to use is mispronounced. Maybe you know that. Then it is helpful to play the word in another TTS language. You can also specify that in the multiline editor.
{[en] <...> } {[annother language] <special mispronounced word>} {[en] <...> }

example:
{[en] Welcome %n} {[de] Willkommen %n}
This is like in the plane, first the speech is in the national language, then in the destination language. For the Teamspeak maybe its helpful if you have international clients.

If you want, you can also set the timeout between languages. This is helpful if the single message pieces are played together a bit.
{[en] <...> } {[annother language-<time>] <special mispronounced word>} {[en-<time>] <...> }

example:
{[en] Welcome %n} {[de-1400] Willkommen %n}
The value is in milliseconds. In this example you set that the TTS for "[en] Welcome %n" is going to be 1400 milliseconds long. Only then the next ("[de] Willkommen %n") is going to get played.

If you use this feature, you have to put all the words in language brackets.
%n - nickname
%s - all users on the server
%c - all users in bot channel
%fs - all filtered users on the server
%fc - all filtered users in the channel
%bs - all users on the server without the bot itself
%bc - all users in bot channel without the bot itself
%icn - info: channel name
%mt - the current track's title
%ma - the current track's artist
%mw - word "by" [en] or "von" [de] if music plays

%ps - plural "s" of: all users on the server
%pc - plural "s" of: all users in bot channel
%pfs - plural "s" of: all filtered users on the server
%pfc - plural "s" of: all filtered users in the channel
%pbs - plural "s" of: all users on the server without the bot itself
%pbc - plural "s" of: all users in bot channel without the bot itself

Script usage:

To install the script, drop the .js file into "scripts" folder, then restart your bot. After restarting, activate and configure the script in the "scripts" section of the web interface.

IMPORTANT:
In order to run this script, the bot identity/group must have enough talk power and to use TTS you have to configure TTS proper way, see: text-to-speech-apis-for-sinusbot. You can test your configuration with the command "!say <some text>".​
NOTE:
Of course all users on sinusbot channel hears all messages, wil be tiresome on bigger servers​
If sinusbot plays a musics (e.g. on radio channel), TTS messages are played parallel (music doesn't stops)​
Support:

Do you need help? Something is not working? Please write me or write under this text (with the help of logs).
Want a good feature in the next version? Please write me or write under this text.

And please review (positive or negative) this script! :)

Copyright 2018 Lukas Westholt, all rights reserved.
This script is based on Welcome Voice Message (TTS) by zmechu ([email protected])
Author
Lukas Westholt
Downloads
172
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from Lukas Westholt

Latest updates

  1. [V1.2] Feature and fix update

    Changelog: ~ Add: TTS advertisement script: Now you can set TTS / Audio at regular intervals...
  2. [V1.1] Feature and fix update

    Changelog: ~ Add: Possibility to select a audio file. (Request @Killer0561...

Latest reviews

Great greet on join script. It's up to date and the author even implemented user wishes! I can recommend it. :)
Keep up the good work