Seems that lately there is a lot of people working on persistence scripts, and these events are especially useful to save player data, server status, correctly handle player trying to reconnect... So any improvement on these commands could be really useful.
At this time the onPlayerConnected and onPlayerDisconnected scripting commands are not stackable.
onPlayerConnected "diag_log _this";
onPlayerConnected "diag_log 'test123'";
When a player connects, only diag_log 'test123' will be logged; the command overrides itself on consequent usage.
it would be great if we could get;
addOnPlayerConnectedHandler - perhaps returning an index, to be used with
(and the same for onPlayerDisconnected).