<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onLoad>
include("waypoints/ElfDaily_onload.lua")
</onLoad>
<!-- # 1 --><waypoint x="31847" z="4592" tag ="Main">
      local queststate = getQuestStatus(questName1);
      if queststate == "complete" then
         player:target_NPC(questEndNpcID1);
         CompleteQuestByName(questName1);
         yrest(300);
      end

      local dqCount, dqPerDay = RoMScript("Daily_count()");
      if dqPerDay == dqCount then
   relog()
else
         player:target_NPC(questEndNpcID1);
         AcceptQuestByName(questName1,questEndNpcID1);
         yrest(300);
      end
   </waypoint>
   <!-- #  3 --><waypoint x="31860" z="4646" y="9">   </waypoint>
   <!-- #  2 --><waypoint x="31742" z="5070" y="-11">   </waypoint>
   <!-- #  1 --><waypoint x="31416" z="5715" y="-33" tag = "Item1">
      queststate = getQuestStatus(questName1)
      if queststate == "incomplete" then
         player:target_Object(112976,300);
         yrest(2500);
         __WPL:setWaypointIndex(__WPL:findWaypointTag("Item1"));
      end
    </waypoint>
   <!-- #  1 --><waypoint x="31416" z="5715" y="-33">   </waypoint>
   <!-- #  2 --><waypoint x="31742" z="5070" y="-11">   </waypoint>
   <!-- #  3 --><waypoint x="31860" z="4646" y="9">   </waypoint>
   <!-- #  4 --><waypoint x="31847" z="4583" y="9">   </waypoint>
</waypoints>
