setSingletonEvent is a method defining a singleton service event. It is supposed to receive requests sent across all games.
Client:setSingletonEvent(<number> interval, <string> singletonName, <function> callback)
Returns: <Connection> singletonConnection
The callback function should use these arguments:
<ANY> data, <number> date
The event is fired with sendSingleton.
It is a shared service - it will run on every server connected to the token and assigned the same name.