Results 1 to 9 of 9

Thread: Willow

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

    Default Willow

    im making a willow chopper and i got the colours but i want it to see the word willow tree (or somthing) then click instead of it just clicking on the colour i want this i dont know if the other trees might have same colours in them thanks

  2. #2
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    IsUpText('hop'); //chop

  3. #3
    Join Date
    Aug 2007
    Posts
    282
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    or you can use istextupmulti and use parts of the word willow too.. look in SRL/Core/Text.scar for how to use it

  4. #4
    Join Date
    Apr 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by The_Rs_Monkey View Post
    SCAR Code:
    IsUpText('hop'); //chop
    Well, RS_Monkey, that really wouldn't help him if the script finds another tree with the same colours. But it will help if he finds the ground. He should use

    SCAR Code:
    IsUpText('illow');

  5. #5
    Join Date
    Jun 2007
    Location
    I'm not sure...
    Posts
    581
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah, but he's doing that so you could customize what tree you wanted to chop.
    ---------------------------------------------------------


    Pm me if you need any math functions made. Me = l0ving t3h mathz

    ---------------------------------------------------------

  6. #6
    Join Date
    Jul 2007
    Posts
    184
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default yup

    Quote Originally Posted by rotflmfwao View Post
    Yeah, but he's doing that so you could customize what tree you wanted to chop.
    Thats what im doing but i am trying to get it so its not nooby

    im spend a lot of my time on this script (also taking it slow because im learn aswell as doing it )

  7. #7
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    Quote Originally Posted by Tails111 View Post
    Well, RS_Monkey, that really wouldn't help him if the script finds another tree with the same colours. But it will help if he finds the ground. He should use

    SCAR Code:
    IsUpText('illow');

    or something like this. It checks it can chop. Then if its a willow. And if its not it exits. Skips

    SCAR Code:
    begin
    If(isuptext('hop'))then
      begin
        If(isuptext('illow'))then
          <blah blah>
        If(not(isuptext('illow')))then
          Exit;
      end;
    end;
    STOP PM'ING ME

  8. #8
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Tails111 View Post
    Well, RS_Monkey, that really wouldn't help him if the script finds another tree with the same colours. But it will help if he finds the ground. He should use

    SCAR Code:
    IsUpText('illow');
    wrong it will examine the Willow too

  9. #9
    Join Date
    Jan 2007
    Location
    USA
    Posts
    1,782
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Procedure ClickTreeName;
    var
      TreeName : String
    begin


       TreeName := Players[CurrentPlayer].String1//String1 = tree name

       If IsUpText('hop') and IsUpText(TreeName) then
         begin
          //Code
         end;
    end;

    SCAR Code:
    Procedure ClickTreeName(TreeName : string);
    begin

       If IsUpText('hop') and IsUpText(TreeName) then
         begin
          //Code
         end;
    end;

    two very simple procedures. You can get more advanced with it with cases and such if you like.

    Join the fastest growing merchanting clan on the the net!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. JAD Willow - edgevil willow cutter + banker.
    By JAD in forum RS3 Outdated / Broken Scripts
    Replies: 58
    Last Post: 10-08-2007, 05:11 PM
  2. Need willow droper.
    By boooobz in forum RS3 Outdated / Broken Scripts
    Replies: 28
    Last Post: 08-16-2007, 02:36 AM
  3. Willow Cutter
    By sjf123abc in forum RS3 Outdated / Broken Scripts
    Replies: 5
    Last Post: 08-05-2007, 04:41 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
  •