Log in

View Full Version : Hey guys I need help i got a glitch in my script



Imsupreme
01-17-2012, 03:19 AM
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
01-17-2012, 03:23 AM
repeat

until(false)

?

Imsupreme
01-17-2012, 03:40 AM
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
01-17-2012, 03:43 AM
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
01-17-2012, 03:50 AM
thanks but like ummm can i message u the script then u help me? :s