How to record a value before running a waypoint?
Posted: Sun May 03, 2015 2:19 am
Hi all,
Ive been trying rombot recently and having fun with it. I have a function like
Currently I have to change to the number 12 everytime before i run the waypoint. Is there anyway to make it run like this:
- Run the waypoint
- It asks how many stone I want to make
- Enter a targeted number
- Then the bot starts
Thanks a lot
Ive been trying rombot recently and having fun with it. I have a function like
Code: Select all
function checkgoal()
if inventory:itemTotalCount(202849) == 12 then <!-- how many mana stone 10 you want to make -->
cprintf(cli.yellow,"Target number of mana stone 10 needed to make reached, rest now...\n") <!-- Notify status -->
sendMacro("CloseAllWindows()");
yrest(1000);
RoMCode("MagicBoxFrame:Hide()");
yrest(1000);
player:sleep()
else
cprintf(cli.yellow,"Continuing...\n") <!-- Notify status -->
end
end
- Run the waypoint
- It asks how many stone I want to make
- Enter a targeted number
- Then the bot starts
Thanks a lot
