;Cyber Says - Timed call script

MAP = #PARAM1
LEVEL = #PARAM2
SAYTEXT = #PARAM3

SendMessageToUser(GetUserID("comrade"),"MAP: "+MAP,#MSG_SERVER)
UserID = GetNextMapUser(MAP,1)
SendMessageToUser(GetUserID("comrade"),"ID: "+UserID,#MSG_SERVER)
While UserID <> 0
	SendMessageToUser(GetUserID("comrade"),"ID: "+UserID,#MSG_SERVER)
	MSG=GetUserMessage(UserID)
	If MSG<>SAYTEXT
		SendMessageToUser(UserID,"Cyber says, 'Wrong. It appears that you lose this time.'",#MSG_SAY)
		SendMessageToUser(UserID,"Cyber smiles a humorless smile, and warps you out of his presence.",#MSG_EMOTE)
		WarpUser(UserID, 509, 10, 11)
		SendMessageToMap(MAP,GetUserName(UserID)+" failed, and has been removed.",#MSG_SERVER)
	EndIf
	UserID = GetNextMapUser(MAP,UserID)
Wend

Timer(520,3000,MAP,LEVEL+1,0)

Continue = 1