I'm currently learning how scripting works and having a go at writing and modifying some simple scripts.
I've written an online indicator, which when the object is touched, listens to the chat channel and allows the person to send me an IM.
The script is working, in that the message can be sent, and it seems to be working as an IM (ie if i'm not in the same region, the message comes through), but when the message is recieved, it comes through via the chat window rather than being trated by the client as a IM.
The section of the script which I use to send the message is here:
llInstantMessage(llGetOwner(), "IM from online Indicator: " + name + ": " + message);
llSay(0, "Thank you, " + name + ", your message has been sent."
;The name variable is gathered from the person touching the object, and the message variable is collected from the chat channel.
Is this just a quirk (ie how llInstantMessage does work) or have I done it wrong? If it is a quirk, is there a workaround to send the message as an actual IM?
Gomez
