;Map 1453, "Technological Site" - Script Trigger

If HasItem(#USERID,748) = 1
	TakeItem(#USERID,748)
	
	CreateEffect(3,500,0,#DIR_RIGHT,GetUserMap(#USERID),GetUserX(#USERID),GetUserY(#USERID),0,#USERID,0)

	WarpUser(#USERID, 1464, 10, 10)
	
	SendMessageToMap(1452,GetUserName(#USERID)+" fell into the portal!",#MSG_SAY)
	SendMessageToUser(#USERID,"You fell through the portal.",#MSG_EMOTE)

	Timer(747, 10000, #USERID, #XPOS, #YPOS)
Else
	SendMessageToUser(#USERID,"The warp doesn't seem to be working.",#MSG_SAY)
EndIf

Continue = 1