Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Launching chat commands from a script

Nemo Gardiner
Registered User
Join date: 21 Nov 2006
Posts: 1
05-31-2007 10:16
Hello everybody.
Is it possible to launch a chat command (those ones we type in chat starting with /) from a script? And if it is possible, what is the function to use?
Thanks.
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
05-31-2007 10:31
You can do emotes or "poses" with /me, but you cannot launch gestures via script like that, no. Gestures are only triggerable client-side, unfortunately.
Lyn Mimistrobell
(waiting)
Join date: 11 Jan 2007
Posts: 179
05-31-2007 10:33
In theory, you can use something like:
llSay(1, "hide";);
which would be the equivelance to /1hide in chat.

However, most objects that listen to chat, listen only to the owner (IE the avatar owning the listening object) and won't listen to your object. Since they listen to llGetOwner() (being the avatar's key), you can't fake it afaik.

Lyn