Event broadcast channel using a MP enabled string property.
Events from users in multiplayer.ignore are ignored.
EventChannel.new(mpp_path)
Create a new event broadcast channel. Any MP user with the same
primitive will receive all messages sent to the channel from the point
she/he joined (barring severe MP packet loss).
NOTE: Message delivery is not guaranteed.
mpp_path - MP property path : string
EventChannel.register(event_hash, handler)
Register a handler for the event identified by the hash event_hash.
event_hash - hash value for the event : a unique 4 character string
handler - a handler function for the event : func (sender, msg)
EventChannel.deregister(event_hash)
Deregister the handler for the event identified by the hash event_hash.
event_hash - hash value for the event : a unique 4 character string
EventChannel.send(event_hash, msg)
Sends the event event_hash with the message msg to the channel.
event_hash - hash value for the event : a unique 4 character string
msg - text string with Binary data encoded data : string
EventChannel.die()
Destroy this EventChannel instance.