Choice Option

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Choice Option

#1 Post by ZZZZZ »

Is there any way to get the name of a choice option when you are at the speakframe? Something along the line of

Code: Select all

CurrentChoice1 = GetString(ChoiceOption1)
repeat
sendMacro("ChoiceOption(1);");
yrest(100);
until CurrentChoice1 ~= GetString(ChoiceOption1)
As with targeting an NPC, multiple choice options also screw up the bot at times with ping spikes/lag, just seeing if I can alter it so it will keep using it until it has 'passed'.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Choice Option

#2 Post by rock5 »

Code: Select all

RoMScript("GetSpeakOption(1)")
will give you the text of option 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