Please change back choose options to what it was!
I know the current chooseoptions fixes the options not found dialog. For example, when an option is not found, it moves the mouse OFF of the options box so that it can try again but this should be optional and up to the scripter.
Why? Because the way it currently is, I cannot do:
Simba Code:MMouse.....
ClickMouse2(MOUSE_RIGHT);
if (Not WaitOptionMulti(['w-' + IntToStr(HowMany), 'draw-' + IntToStr(HowMany)], 1000)) then
if WaitOptionMulti(['w-X', 'draw-X'], 600) then
begin
//////////////////////////
end;
Instead I am forced to do:
Simba Code:MMouse.....
ClickMouse2(MOUSE_RIGHT);
if (Not WaitOptionMulti(['w-' + IntToStr(HowMany), 'draw-' + IntToStr(HowMany)], 1000)) then
begin
MMouse......
ClickMouse2(MOUSE_RIGHT); //I shouldn't have to do this twice!
if WaitOptionMulti(['w-X', 'draw-X'], 600) then
begin
///////////////////////
end;
end;
I suggest that the chooseoptions have a parameter whether or not to make the dialog disappear.. or at least an SRL variable that we can change to enable or disable that part of the function..







Reply With Quote










