Results 1 to 3 of 3

Thread: What's wrong with my script?

  1. #1
    Join Date
    Jul 2007
    Posts
    242
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default What's wrong with my script?

    Code:
    program New;
    {.include srl/srl.scar}
    {.include SRL\SRL\Skill\Woodcutting.SCAR}
    
    const
    Maple = 19058;
    Tol = 20;
    RunDirection = 'W';
    LogsToChop = 50;
    
    
    begin
    SetUpSRL;
    repeat
    if FindColorTolerance(x, y, Maple, MSX1, MSY1, MSX2, MSY2, 20) then
    if IsUpText('Maple tree') then
    Mouse(x, y, 2, 2, true);
    wait(15032+random(4001));
    until(false)
    end.
    It compiles but doesn't run. It works without the if isuptext but then it's not very accurate, help?





  2. #2
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Because you need to move the mouse to the color before the uptext shows up?

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  3. #3
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    if IsUpText('le tr') then
    Interested in C# and Electrical Engineering? This might interest you.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. What's wrong with this script?
    By daniiboy69 in forum OSR Help
    Replies: 1
    Last Post: 10-09-2008, 06:25 AM
  2. What Am I doing wrong with script?
    By mrpickle in forum OSR Help
    Replies: 6
    Last Post: 08-17-2008, 04:44 PM
  3. What's wrong with this script.
    By igotgrapes in forum OSR Help
    Replies: 4
    Last Post: 04-06-2008, 12:44 AM
  4. Replies: 3
    Last Post: 01-20-2008, 05:29 PM

Posting Permissions

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