It exists
PHP Code:
function onPlayerLogout(pl) {
echo("Player " @ pl.account @ " is leaving the server!");
}
Currently you can only read the values of the player, modifications are not saved. On Kingdoms you can modify the mud values (items, exp etc.).