Results 1 to 2 of 2

Thread: need 2 bitmaps to be recognized at the same time

  1. #1
    Join Date
    Dec 2011
    Posts
    183
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default need 2 bitmaps to be recognized at the same time

    Simba Code:
    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

  2. #2
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Remove the 2nd 'if'
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •