evilband7 wrote:new zone quest (Ancient Kingdom of Rorazan)
Daily quest info: Extinguish More Flames >> runesdatabase.com/quest/425186/extinguish-more-flames
Public event quest info info: Extinguish More Flames >> runesdatabase.com/quest/425182/extinguish-more-flames
Ok so you want to add code after completing the quest to check if all 10 dailies are done and also check if you have any reset tickets, if both cases true then use a reset ticket.
player:target_NPC("Diandon");
CompleteQuestByName("Extinguish More Flames");
yrest(500);
-- add code here to use resets
player:target_NPC("Diandon");
AcceptQuestByName("Extinguish More Flames");
There are already quite a few waypoints posted already that have the code for using resets, I mean hundreds of them.
local dqCount = RoMScript("Daily_count()");
yrest(1000)
if dqCount == 10 then
if inventory:itemTotalCount(202434) >= 1 then
inventory:useItem(202434);
yrest(1000)
else
printf("No Daily Reset Cards left!\n")
player:sleep();
end
end
Remember no matter you do in life to always have a little fun while you are at it
I was still working on this waypoint. I wanted to add code so it moved to different flame if someone was at the current one. I put in the ticket code but did not test it.