If GetUserName(#PARAM1)=""
	SetUserFlag(0,26,1)
	SetUserFlag(1,26,0)
	SetUserFlag(2,26,0)
	SetUserFlag(3,26,0)
	SetUserFlag(4,26,0)
	SetUserFlag(5,26,0)
	SetUserFlag(6,26,0)
	SetUserFlag(7,26,0)
	SetUserFlag(8,26,0)
	SetUserFlag(9,26,0)
	SetUserFlag(10,26,0)
	SetUserFlag(21,26,Floor(#PARAM1-1))
	Timer(410,0,Floor(#PARAM1-1),0,0)
Else
	i=1

	label SkipGaps
	If GetUserName(#PARAM1+i)=""
		If i<10
			i=i+1
			Goto SkipGaps
		Else
			Goto SkipGapsEnd
		Endif
	Else
		Goto SkipGapsEnd
	Endif

	Label SkipGapsEnd
	;SendMessageToAll(GetUserName(#PARAM1)+" ("+#PARAM1+")",#MSG_SERVER)
	Timer(411,20,Floor(#PARAM1+i),0,0)

Endif


Continue = 1