if it cant do it again?

Discussion in 'Scar/Simba Help' started by strongman, Sep 28, 2007.

if it cant do it again?
  1. Unread #1 - Sep 28, 2007 at 8:18 PM
  2. strongman
    Joined:
    Apr 9, 2007
    Posts:
    94
    Referrals:
    0
    Sythe Gold:
    0

    strongman Member

    if it cant do it again?

    begin
    if(findcolortolerance(x , y, Bluecolor, 534, 570, 573, 587, 2 = true) then

    begin
    movemousesmooth(596, 658)
    wait(500+random(500))
    clickmouse(596, 658, true)
    wait(500+random(500))
    movemousesmooth(466, 608)
    wait(500+random(500))
    clickmouse(466, 608, true)
    wait(3000)
    end

    if(findcolortolerance(x , y, Bluecolor, 534, 570, 573, 587, 2 = false) then

    findcolortolerance(x, y, Bettycolor, 252, 208, 761, 543, 5)
    wait(500+random(500))
    movemousesmooth(x, y)
    wait(5+random(10))
    clickmouse(x, y)
    wait(5000)
    movemousesmooth(596, 658)
    wait(500+random(500))
    clickmouse(596, 658, true)
    wait(500+random(500))
    movemousesmooth(466, 608)
    wait(500+random(500))
    clickmouse(466, 608, true)
    wait(3000)
    wait(3000)
    end
    end;

    What i want is if it cant find the color, I want it to try finding the color again
    there are the 2 ifs with (true and false) can you give it a check?

    Line 57: [Error] (57:69): Type mismatch in script C:\Program Files\SCAR 3.06\Scripts\Official Choaus and Deeath buyer.scar
     
< (boolean = true) | Non-Runescape script help. >

Users viewing this thread
1 guest


 
 
Adblock breaks this site