http://www.smartfoxserver.com/docs/docP ... /index.htm
under "UserExit" it has an example how to detect when a user exits a room... The code says you need to do this :
Code: Select all
if (evt.name == "userExit")Code: Select all
if (evt.name == "userLost")