Results 1 to 5 of 5

Thread: Can this work?

  1. #1
    Join Date
    Nov 2007
    Location
    SCAR central
    Posts
    116
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Can this work?

    SCAR Code:
    Procedure ChopIt;
    Begin
     if (not (LoggedIn)) then LoginPlayer
     repeat
      if(findcolortolerance(x,y,treecolor1,117,204,887,709,10)) or //It
        (findcolortolerance(x,y,treecolor2,117,204,887,709,10)) or//look
        (findcolortolerance(x,y,treecolor3,117,204,887,709,10)) or//for
        (findcolortolerance(x,y,treecolor4,117,204,887,709,10)) or//the
        (findcolortolerance(x,y,treecolor5,117,204,887,709,10)) or//color
        (findcolortolerance(x,y,treecolor6,117,204,887,709,10)) then//on screen
       begin
        MMouse(x,y,3,3);//Moves the mouse over it
        if (IsUpText('ree')) then//Looks to see if it says 'ree'
       begin
         Mouse(x,y,2,2,true);//Clicks it
        Wait(15000) or//Whats 15 secs or
        MMouse(x,y,3,3) then //Moves over to the tree
       (IsUpText('ree'))not;//Sees if it doesnt say 'ree' resulting in the tree not
    //being there


    I was wondering if that procedure could work as i want a way chop another tree straight after it has been chopped down

    if there is another way, please can you tell me...
    Click here for Rora's Power Woodcutter!
    Testers needed!
    |
    |
    |
    |
    V



    http://www.fenjer.com/adnan/SRL//100...Woodcutter.png

    http://photos33.flickr.com/38918814_8370ddb570_m.jpg




    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig.

  2. #2
    Join Date
    Nov 2007
    Location
    Nowhereville
    Posts
    1,155
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    I would say:

    SCAR Code:
    Procedure ChopIt;
    Begin
     if (not (LoggedIn)) then LoginPlayer
     repeat
      if(findcolortolerance(x,y,treecolor1,117,204,887,709,10)) or //It
        (findcolortolerance(x,y,treecolor2,117,204,887,709,10)) or//look
        (findcolortolerance(x,y,treecolor3,117,204,887,709,10)) or//for
        (findcolortolerance(x,y,treecolor4,117,204,887,709,10)) or//the
        (findcolortolerance(x,y,treecolor5,117,204,887,709,10)) or//color
        (findcolortolerance(x,y,treecolor6,117,204,887,709,10)) then//on screen
       begin
        MMouse(x,y,3,3);//Moves the mouse over it
        if (IsUpText('ree')) then//Looks to see if it says 'ree'
       begin
         repeat
           Mouse(x,y,2,2,true);//Clicks it
           Wait(15000) or//Whats 15 secs or
           MMouse(x,y,3,3) then //Moves over to the tree
         until not(IsUpText('ree')); {I changed this to a loop so then it will see when the text is up. I wouldn't recommend having that wait there, but, it's your script...}

    Cut em2 it
    Formerly known as Cut em2 it

  3. #3
    Join Date
    Nov 2007
    Location
    SCAR central
    Posts
    116
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    so it does work?
    Click here for Rora's Power Woodcutter!
    Testers needed!
    |
    |
    |
    |
    V



    http://www.fenjer.com/adnan/SRL//100...Woodcutter.png

    http://photos33.flickr.com/38918814_8370ddb570_m.jpg




    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig.

  4. #4
    Join Date
    Aug 2007
    Posts
    429
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Umm few things on it.
    on this part:
    SCAR Code:
    begin
         Mouse(x,y,2,2,true);//Clicks it
        Wait(15000) or//Whats 15 secs or
        MMouse(x,y,3,3) then //Moves over to the tree
       (IsUpText('ree'))not;//Sees if it doesnt say 'ree' resulting in the tree not
    //being there
    you can't have the 'or' or the 'then' or even the 'not' unless you have an 'if'
    and 'not' is used after the 'if'
    so it'd be like this:

    SCAR Code:
    Procedure ChopIt;
    Begin
     if (not (LoggedIn)) then LoginPlayer
     repeat
      if(findcolortolerance(x,y,treecolor1,117,204,887,709,10)) or //It
        (findcolortolerance(x,y,treecolor2,117,204,887,709,10)) or//look
        (findcolortolerance(x,y,treecolor3,117,204,887,709,10)) or//for
        (findcolortolerance(x,y,treecolor4,117,204,887,709,10)) or//the
        (findcolortolerance(x,y,treecolor5,117,204,887,709,10)) or//color
        (findcolortolerance(x,y,treecolor6,117,204,887,709,10)) then//on screen
       begin
        MMouse(x,y,3,3);//Moves the mouse over it
        if (IsUpText('ree')) then//Looks to see if it says 'ree'
       begin
        Mouse(x,y,2,2,true);//Clicks it
        Wait(15000); //Whats 15 secs or
        MMouse(x,y,3,3); //Moves over to the tree
        if not(IsUpText('ree')) then//Sees if it doesnt say 'ree' resulting in the tree not
    //being there

  5. #5
    Join Date
    Nov 2007
    Location
    SCAR central
    Posts
    116
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thankyou very much
    Click here for Rora's Power Woodcutter!
    Testers needed!
    |
    |
    |
    |
    V



    http://www.fenjer.com/adnan/SRL//100...Woodcutter.png

    http://photos33.flickr.com/38918814_8370ddb570_m.jpg




    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how come this does not work?
    By takeout in forum OSR Help
    Replies: 3
    Last Post: 09-14-2007, 03:44 PM
  2. how come this does not work?
    By takeout in forum OSR Help
    Replies: 2
    Last Post: 09-11-2007, 09:19 PM
  3. Been Trying To Get This To Work : /
    By Speci in forum OSR Help
    Replies: 15
    Last Post: 07-21-2007, 12:17 PM
  4. how does rc work
    By del_signo in forum OSR Help
    Replies: 4
    Last Post: 05-10-2007, 02:47 AM

Posting Permissions

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