;Death Crypt warp trap - Script trigger

If Random(0,1) = 0
	WarpUser(#USERID,1147,17,3)
Else
	WarpUser(#USERID,1147,17,13)
EndIf

CreateEffect(5,500,0,#DIR_RIGHT,#MAPID,#XPOS,#YPOS,0,#USERID,0)
CreateEffect(5,500,0,#DIR_RIGHT,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID),0,#USERID,0)
SendMessageToMap(#MAPID,GetUserName(#USERID)+" was warped by a trap!",#MSG_EMOTE)

Continue = 1