Page 1 of 1

Choice Option

Posted: Sat Feb 08, 2014 3:57 am
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'.

Re: Choice Option

Posted: Sat Feb 08, 2014 4:19 am
by rock5

Code: Select all

RoMScript("GetSpeakOption(1)")
will give you the text of option 1.