<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload>

YourTargetScore = 5900

function waitForEventStart()
repeat
yrest(1000) -- check every second
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if (ScorePE == nil) then
printf("Score is nil, oh no!")
__WPL:setWaypointIndex(__WPL:findWaypointTag("timer"));
return
end
if Count == 2 and YourTargetScore > ScorePE then break end
until false
end

function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count ~= 2 or ScorePE >= YourTargetScore then
__WPL:setForcedWaypointType("RUN")
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
end

</onload>

<!-- # 1 --><waypoint x="-2734" z="-17945" y="809" tag="Home Base">
waitForEventStart()
__WPL:setForcedWaypointType("NORMAL")
inventory:useItem("Pfeilspitze mit graviertem Namen");yrest(800);
RoMScript("AcceptBorderQuest()");yrest(300);
player:target_NPC("Myan Kellas");
RoMScript("ScriptBorder:Hide()");yrest(100)
if (isEventFinished()) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
</waypoint>
<!-- #  2 --><waypoint x="-2723" z="-18032" y="810" tag="timer">
</waypoint>
	<!-- #  2 --><waypoint x="-2815" z="-18151" y="811">	</waypoint>
	<!-- #  3 --><waypoint x="-2861" z="-18117" y="810">	</waypoint>
	<!-- #  4 --><waypoint x="-2912" z="-18048" y="810">	</waypoint>
	<!-- #  5 --><waypoint x="-2843" z="-18167" y="810">	</waypoint>
	<!-- #  6 --><waypoint x="-2738" z="-18081" y="809">	</waypoint>
	<!-- #  7 --><waypoint x="-2734" z="-17945" y="809">
if (isEventFinished()) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
</waypoint>
</waypoints>
