LSL Protocol/Restrained Love Open Relay Group/speech
speech
STATUS: draft
version: 001
Implemented in Dahlia's multirelay 1.3.7
Two new commands !x-speech and !x-rename
Description of !x-speech
- The syntax is !x-speech/STRING[/FLOAT[/STRING]].
The effect of !x-speech/string is to force the avatar wearing the relay to say the string. The default range is the say range (default: 20.0m). The second optional parameter is the range. The third optional parameter is the name given to the wearer of this avatar for whispering/saying/shouting the string. The character "/" is forbidden in the first string, except if the string starts by "/me " for an emote.
The relay must answer "ok" and accepts this command only if the controller sending it is already accepted. Otherwise this command has no effect and the relay must answer "ko".
Description of !x-rename
- The syntax is !x-rename[/STRING[/FLOAT]]
The effect of !x-rename is to clear any previous setting (it is equivalent to !x-rename/clear which does not exist for obvious reasons). The effect of the command !x-rename/string is to rename the wearer of the relay for all messages and emotes sent to the local chat. The second optional parameter is the range (default: 20.0m). In a relay simulating several controllers, only one controller at a given time can rename the wearer.
The relay must answer "ok" and accepts this command only if the controller sending it is already accepted and if there is no other controller already renaming the wearer of the relay. Otherwise this command has no effect and the relay must answer "ko".