// =============================================================================== // DESCRIPTION: // CALLED BY: // PARAMS: // TYPE: // =============================================================================== // Init ========================================================================== @INIT if [__debug == 1] goto DEBUG goto SCRIPT // =============================================================================== // Debug ========================================================================= @DEBUG Echo #__debug_prefix#"Calling script playerleave" goto SCRIPT // =============================================================================== // Script ======================================================================== @SCRIPT Echo #__debug_prefix#"playerleave: Player name: "#GetScriptParam(name)#" accountid: "#GetScriptParam(accountid)#" clientid: "#GetScriptParam(clientid)#" index: "#GetScriptParam(index)# ExecScript _SVR_PLAYER :: UNREGISTER clientid #GetScriptParam(clientid)# SendMessage -1 "^r["#__name#"] ^yWaiting for "[__start_game_min - __clients]" players to BEGIN" if [__clients < __start_game_min] ExecScript _SVR_GAME :: STOP goto EOF @EOF // ===============================================================================