SRL Archive - Help

Hey guys I need help i got a glitch in my script


Imsupreme

2012-01-16 22:19:20

basically im making a script i need to know how i can set it to restart like i have it made so it drinks a pot at red prayer but how do i make it restart after that..?


until FindColorSpiralTolerance(x, y, 9026104, 542, 202, 736, 465, 10) or
FindColorSpiralTolerance(x, y, 8960056, 542, 202, 736, 465, 10) is
false;

doesnt work but i want it to do basically that :S the "false;" is

[Error] (30:6): Type mismatch at line 29
Compiling failed.

loser69

2012-01-16 22:23:41

repeat

until(false)

?

Imsupreme

2012-01-16 22:40:21

is there anyway for me to make it like

repeat;
until (insert here)

like in the insert here i want to put untill it cannot find like the color of the potion

Griff

2012-01-16 22:43:39

From: Imsupreme
is there anyway for me to make it like

repeat;
until (insert here)

like in the insert here i want to put untill it cannot find like the color of the potion


Yep!

repeat
blahblah;
until not FindPot;


FindPot being whatever you're using to find the potions in the first place.

AANnnnddd use the edit button! Don't double post, (or in this case triple). You should delete two of those posts so you don't get an infration.

Imsupreme

2012-01-16 22:50:10

thanks but like ummm can i message u the script then u help me? :s