Log in

View Full Version : need 2 bitmaps to be recognized at the same time



zluo
05-05-2012, 05:20 AM
if not (FindBitmapToleranceIn(UseBankChest, a, b, ScreenX1, ScreenY1, ScreenX2, ScreenY2, 2)) and
if (FindBitmapToleranceIn(Moving, x, y, ScreenX1, ScreenY1, ScreenX2, ScreenY2, 2)) then
MMouse(x+(25), y, 5, 5);

so i want simba to recognize these two bitmaps at the same time like together. I have no idea how to though. help pl0x. it comes out as a syntax error, and i think i am using 'and' wrong

Narcle
05-05-2012, 05:36 AM
Remove the 2nd 'if'