wiki.sine.space | sinespace

Difference between revisions of "Scripting/SChatMessage"

From wiki.sine.space
Jump to: navigation, search
(Creaated SChatMessage + defined all members + added simple examples)
 
(Replaced content with "This page has moved to: https://docs.sine.space/v/scripting/client-scripting/types/schatmessage")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Public Attributes==
+
This page has moved to: https://docs.sine.space/v/scripting/client-scripting/types/schatmessage
{{ScriptFunction|string|Channel|{}|Name of the channel|5=<pre>function oc(chatm)
+
  Space.Log(chatm.Channel)
+
end
+
Space.Network.Chat.OnChat(oc)</pre>}}
+
{{ScriptFunction|string|Message|{}|The contents of the chat message|5=<pre>function oc(chatm)
+
  Space.Log(chatm.Message)
+
end
+
Space.Network.Chat.OnChat(oc)</pre>}}
+
{{ScriptFunction|string|Sender|{}|Name of the sender of the message|5=<pre>function oc(chatm)
+
  Space.Log(chatm.Sender)
+
end
+
Space.Network.Chat.OnChat(oc)</pre>}}
+
{{ScriptFunction|uint|SenderID|{}|ID of the sender of the message|5=<pre>function oc(chatm)
+
  Space.Log(chatm.SenderID)
+
end
+
Space.Network.Chat.OnChat(oc)</pre>}}
+
 
+
 
+
 
+
 
+
{{Scripting Navbox}}
+

Latest revision as of 07:00, 19 September 2022

This page has moved to: https://docs.sine.space/v/scripting/client-scripting/types/schatmessage