atl/sm/message
import "atl/sm/message"[server] Publish/subscribe between scripts (sm.message).
Functions
Section titled "Functions"func Send(key string, data any)[server] Sends data to every script subscribed to key.
func Subscribe(key string, fn func(args atl.Value))[server] Makes the running script receive every message sent with key (engine-defined arguments).