Majnoon
2015-03-05 17:22:31
Hello, i started making a corrupted serren stone cleanser.
But i need some help.
My question is, would this work?
What i am trying to do is to make it so when your perfect juju prayer potion runs out it wil drink another dose.
(i am testing this with prayer potion because juju's last an hour)
the actual potion drinking part works but i can't figure out how to make it repeat.
would this work?
But i need some help.
My question is, would this work?
What i am trying to do is to make it so when your perfect juju prayer potion runs out it wil drink another dose.
(i am testing this with prayer potion because juju's last an hour)
the actual potion drinking part works but i can't figure out how to make it repeat.
would this work?
if chatBox.findTextOnLines(['ou have run out of prayer points'], [1..5]); then
begin
repeat
drinkPot
until (not isLoggedIn);
end
procedure drinkPot();
begin
tabBackPack.mouseSlot(1, MOUSE_MOVE); // Move mouse to slot 1
//if isMouseOverText(['erfect juju prayer potion']) then // If text matches then start the next 'begin..end block'
if isMouseOverText(['rayer potion']) then // If text matches then start the next 'begin..end block'
begin
fastClick(MOUSE_RIGHT); // Left click
writeLn('We drank a potion!');
chooseOption.select(['rink']); // Choose the option
end else
writeLn('There wasn''t potion'); // If the mouseOverText didn't match, this will print instead
end