CreateEffect(0,1000,5000,#DIR_RIGHT,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID),0,#USERID,0)

XPos=Random(0,20)
YPos=Random(0,20)
Object=Random(600,610)
MonsterItem=Random(0,4)

If Random(1,10)=1
CreateEffect(0,500,0,#DIR_UP,309,XPos,YPos,0,0,0)
If MonsterItem=0
SpawnMonster(268,58,XPos,YPos)
Else
SpawnItem(309,Object,XPos,YPos)
Endif
Endif

Continue = 1