Never ending loop
Posted: Wed Oct 12, 2011 11:01 am
hello,
I have problem with repeat - until loop.
It looks like bot doesn't check conditions to leave loop.
Do I have something wrong with my loop?
regards,
dap
I have problem with repeat - until loop.
It looks like bot doesn't check conditions to leave loop.
Do I have something wrong with my loop?
Code: Select all
local queststate = "incomplete"
repeat
player:target_Object("xxxx", 10000); <-- this function works correctly
yrest(500);
queststate = getQuestStatus("questname xxx");
until( queststate == "incomplete")dap