how to choose quest item when completing mission

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
haq
Posts: 1
Joined: Mon Jul 11, 2011 8:05 am

how to choose quest item when completing mission

#1 Post by haq »

Hello. I am seeking for a way to pick item when i am completing mission when it gives me a choice which item i would like to get.

Code: Select all

player:target_Object("NPC_Name",500);
sendMacro("OnClick_QuestListButton(3, 1)"); yrest(500); 

here i need something like: chooseQuestItem(1);

sendMacro("CompleteQuest()"); yrest(500);
Thanks for help ;)
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: how to choose quest item when completing mission

#2 Post by rock5 »

Use the userfunction QuestByName
http://www.solarstrike.net/phpBB3/viewt ... =27&t=2184

And use

Code: Select all

CompleteQuestByName("word",1) --Complete first quest in list with "word" in it's name and select reward number 1
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
Post Reply