<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onLoad>
-- Elf daily script - V1.2 - written by Jandrana
-- thanks to rock5 for help regarding relog
-- relog features requires fastLogin and userfunction_LoginNextChar.lua
-- changes:
--   *if char is not in Valley of Preparation, try to use transport
--   *if inventory is full, you cannot complete the quest - try to delete
--    newbie egg pet

   function relog()
      SetCharList({
         -- enter account number and char numbers that you like to run this script
         {account=1 , chars= {1,2}},
         {account=2 , chars= {1}},
         {account=3 , chars= {1}},
         {account=4 , chars= {1}},
         {account=5 , chars= {1}},
         {account=6 , chars= {1}},
         {account=7 , chars= {1}},
         {account=8 , chars= {1}},
         {account=9 , chars= {1}},
         {account=10, chars= {1}},
         {account=11, chars= {1}},
         {account=12, chars= {1}},
         {account=13, chars= {1}},
         {account=14, chars= {1}},
         {account=15, chars= {1}}.
         {account=16, chars= {1}},
         {account=17, chars= {1}},
         {account=18, chars= {1}},
         {account=19, chars= {1}},
      })
      LoginNextChar()
      loadProfile()
      loadPaths("ElfDaily");
   end

   questEndNpcID1 = 112794
   questName1 = "Helping Them Grow"
</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>
