what you can do is something of this nature:
Simba Code:
const
bar_Bronze = 0;
bar_Iron = 1;
bar_Steel = 2;
bar_Mith = 3;
bar_Addy = 4;
bar_Rune = 5;
bar_Cannon = 6;
blackline_Ore = 0; //what ever the black line count of ore is
blackline_Bar = 0; //what ever the black line count of bars are
function oreleft(bar : integer) : integer;
begin
case bar of
0, 1, 3, 5, 6 : result := 0;
2, 4 : result := 1;
end;
end;
begin
repeat
wait(100);
until CountItemsBlackLine(blackline_Ore, 10) <= oreleft(bar_Steel);
end.