Did anybody managed to send a message from a SMUS 3 script ?
I try something like this:
------------------------------------
on customEvent(me, movie, group, user)
pGroupObject = group
pGroupName = group.name
pUserObject = user
pUserName = user.name
pChatSubject = "system.script.CustomSubject"
pReply = "CustomMessage"
pGroupObject.sendMessage(pGroupName, pChatSubject, pReply, 0, 0, "SYSTEM")
end
-----------------------------------
As the result there is an error mesage in the SMUS console: "integer expected".
In a contrary, if the last line of the above script is:
pGroupObject.sendMessage(pChatSubject, pReply, 0, 0, "SYSTEM")
then no error occures, but nothing seems to be sent to client as well.
Is anybody able to provide me a WORKING EXAMPLE of SMUS 3 groupObject.sendMessage ???
Please URGENT !
Ziggi
pGroupObject.sendMessage(theSubject, theMessage)
chris
"Ziggi" <zigg...@poczta.onet.pl> wrote in message
news:aol6ov$8k9$1...@forums.macromedia.com...
Ziggi
-----------------------------------------------------
Christian Kdolsky wrote:
:: the correct syntax is simply: