Results 1 to 3 of 3

Thread: New Scripter Needing Help

  1. #1
    Join Date
    Mar 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default New Scripter Needing Help

    So ive followed the guide to chopping your first tree and tried to adapt it to clean ranarrs for me... so far i have:

    program New;
    {$DEFINE SMART}
    {$i srl/srl.simba}

    Procedure DeclarePlayers;
    begin
    HowManyPlayers := 1;
    NumberOfPlayers(HowManyPlayers);
    CurrentPlayer := 0;

    Players[0].Name :='';
    Players[0].Pass :='';
    Players[0].Nick :='';
    Players[0].Active:=True;
    end;

    procedure AntiBan;
    begin
    if(not(LoggedIn))then
    Exit;
    FindNormalRandoms;
    case Random(8) of
    0: PickUpMouse;
    1: begin
    MakeCompass('N');
    wait(100+random(133));
    MakeCompass('S');
    wait(50+random(133));
    MakeCompass('N');
    FindNormalRandoms;
    end;
    end;
    end;

    procedure CleanUnid;
    var x, y: integer;
    begin
    repeat
    FindNormalRandoms;
    if FindObj(x, y, 'nide', 348421, 35) then
    begin
    Mouse(x, y, 0, 0, True);
    end;
    repeat
    wait(100+random(250));
    AntiBan;
    Until not IsUpText('nide');
    end;

    begin
    SetUpSRL;
    ActivateClient;
    DeclarePlayers;
    LoginPlayer;
    CleanUnid
    end.

    it is saying errors on line 48 and 55 which are the last 2 "end;"s... how do i fix this? or have i done the whole script wrong? also, how would i go about adding banking + pot making? if you could help id be very greatful!
    Last edited by BuuzzzzY; 03-06-2013 at 02:27 PM.

  2. #2
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    "So ive followed the guide to chopping your first tree and tried to adapt it to clean ranarrs for me... so far i have:"
    ...What cleaning script? This just looks like you're trying to chop a tree to me. I don't understand what you're trying to ask to be honest.

  3. #3
    Join Date
    Mar 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    oh shit, lol i copied the version before i changed it. sorry. ill edit that now!

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
  •