ok i have this in my V1 script but it leaves as soon as it finds one bar. i tried dtms but no luck. they didnt even work. Its supposed to wait until it finds 4 (or the amount of bars one load makes).
SCAR Code:
repeat
blah
blah
CountItemColor(4346690)
until (CountItemColor(4346690)=4)
am i using this wrong. this is the function im using:
Code:
function CountItemColor(color: Integer): Integer;
By: based of PPLSUQBAWLZ's InventoryCount by Stupid3ooo
Description: Performs a count of inventory items by color.