;Event Controller - Event Close
EventName=#PARAM1
TimeLeft=#PARAM2



If TimeLeft=1
	TimeAmount=1
	TimeUnit="minute"
Endif
If TimeLeft=2
	TimeAmount=30
	TimeUnit="seconds"
Endif
If TimeLeft=3
	TimeAmount=10
	TimeUnit="seconds"
Endif
If TimeLeft=4
	SetUserFlag(0,10,0)
	SendMessageToAll("The "+EventName+" has started! You may no longer join. Good Luck!", #MSG_SERVER)
	Goto End
Endif

SendMessageToAll("The "+EventName+" will start in "+TimeAmount+" "+TimeUnit+"! Please report to the Event Center to participate.", #MSG_SERVER)

Label End

Continue = 1