mp_syncAsChatHandler(channel)
¶
Description¶
Add this object as a handler for traffic via the CHAT Interface.
This object can then send and recieve traffic on the specified channel using mp_chatGetQueue and mp_chatSend.
This is independent from mp_sync and it’s mp commands. You don’t have to use mp_sync.
Example¶
Read the tutorial about creating a chat system for more information.
Arguments¶
Name | type | description |
---|---|---|
channel | string | The name of the channel to assign to this object |
Returns¶
Nothing