function help_cmdp_tp() text = " commande possible :
/ tp 0 ou / tp home = tp au point de retour
/ tp 1 ou / tp gaia = tp Horizon
/ tp 2 ou / tp deva = tp Laksy
/ tp 3 ou / tp asura = tp Katan" message(text) end function cmdp_tp(name , tp ) if get_state_level(9903) >= 1 then private_notice("Tp impossible en Pvp") return end if tp == 0 then x = gv("rx") y = gv("ry") cmd = "warp(".. x ..",".. y ..")" text = "@90610665" -- 90610665 Point de Retour elseif tp == 1 then --hori 152747,77253 cmd = "warp(152747,77253)" text = "TP Horizon" elseif tp == 2 then --laksy 6673,6923 cmd = "warp(6673,6923)" text = "TP Laksy" elseif tp == 3 then --asura 116848,58338 cmd = "warp(116848,58338)" text = "TP Katan" elseif tp == 5 then cmd = "warp_to_instance_dungeon(100002,0)" text = "TP Zone Ullr" elseif tp == 6 and get_instance_dungeon_id() == 0 then cmd = "warp(".. gv('x') ..",".. gv('y') .."," .. gv('layer') .. ",\'" .. name .. "\' )" text = "Recall Pet" else return end dlg_special("confirm_window", cmd , text ) end