I need a this lua;
If player move x,y
Open Menu
Select any option
And teleport player
-- Tables -- positions = { 	pos_1 = {10,16} } -- Hooks -- addhook("menu","_menu") addhook("movetile","_movetile") -- Functions -- function _menu(id,t,b) 	if t == "Teleport 1" then if b == 1 then 			parse("setpos "..id.." "..positions.pos_1[1]*32+16 .." "..positions.pos_1[2]*32+16) 		end 	end end function _movetile(id,x,y) 	if player(id,"tilex") == 10 and player(id,"tiley") == 8 then 		menu(id,"Teleport 1,First position") 	end end