Okay so I modified Clarity's wells script to make it usable with Mills. Working great so far but I had to remove his inc process (a failsafe for banking) because it constantly inc's the value and doesn't ever reset it.
Simba Code:begin
if combat.hasTarget() then exit;
if dialogue.hasDialogue() then
typeByte(VK_ESCAPE);
inc(didNotMix);
if didNotMix > 10 then
begin
ClarityDebug('Out of supplies! Terminating script.');
terminateScript;
end;
Now the above is directly cut from his script not mine but I did try mimicking it and it will run through 4-5 times then close out. This is within a procedure that opens the bank and no it doesn't open the bank up 10 times let alone show a dialogue. This is leading me to believe that the inc (didNotMix) isn't getting reset? If anyone could help explain how inc works and any tips/suggestions on using it correctly?



Reply With Quote










