MAPID=GetUserMap(#PARAM1)
XPOS=GetUserX(#PARAM1)
YPOS=GetUserY(#PARAM1)
USERID=#PARAM1

TIME=Random(0,60)*Random(1,1000)



SetUserFlag(#PARAM1,5,GetUserFlag(#PARAM1,5)+1)
SpamCheck=#PARAM2+1

If GetUserFlag(#PARAM1,5)<>SpamCheck
	Goto End
Endif

If GetUserFlag(#PARAM1,5)>5000
	SetUserFlag(#PARAM1,5,0)
	SpamCheck=0
Endif


If GetUserInvItem(#PARAM1,GetUserEquippedWeapon(#PARAM1))=560
If GetUserSprite(#PARAM1)=15
If IsOnline(#PARAM1)=1

Timer5(720,0,MAPID,XPOS,YPOS,0,USERID)

Endif
Endif
Timer(729,TIME,#PARAM1,SpamCheck,0)
Endif

Label End

Continue = 1