|
Post by shyrana on Mar 1, 2012 7:40:03 GMT -8
From a Tab plugin I wanted to send some OwnerSay messages to the chat but this didnt work as expected. Next I tried to do this using the DemoTab plugin. I changed the code as follows:
private void btnSaySomething_Click(object sender, EventArgs e) { client.Self.Chat("1st Something", 0, ChatType.Normal); client.Self.Chat("2nd Something", 0, ChatType.OwnerSay); } When the button is clicked only "1st Something" appears in the chat window. I expected that I will see both messages in the chat, while others only see "1st Something".
Is this expected behaviour or should I report it as a bug that needs to be fixed?
Note: when I debug a little bit deeper, I can see that the correct ID is associated with the Chat (@ chat.AgentData.AgentID = this.id; in AgentManager.Chat).
|
|
|
Post by Latif Khalifa on Mar 1, 2012 8:33:30 GMT -8
ChatType.OwnerSay can only be triggered by LSL scripts, you can only send Normal
|
|
|
Post by shyrana on Mar 1, 2012 9:49:45 GMT -8
Sorry, I'm asking so many silly questions. I'm still new to this kind of programming. After I debugged down to the Packet Sending region in OpenMetaverse.Simulator I expected something like this. Thats why I asked before I filed a bug report. Actually I wanted to replace an existing LSL script with something better.
|
|