Results 1 to 2 of 2

Thread: What is the error on this simple script?

  1. #1
    Join Date
    Dec 2011
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default What is the error on this simple script?

    program New;
    {.include srl/srl.scar}

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

    Players[0].Name :='';
    Players[0].Pass :='';
    Players[0].Nick :='';
    Players[0].Active:=True;
    end;
    Procedure ChopTree;
    Var x,y: Integer;
    Begin;
    If FindObj(x,y,'hop',1785912, 35)Then
    Mouse(x,y,0,0, False);
    ChooseOption('Hop')
    Repeat
    Wait(1200+random(250));
    Until not IsUpText('yew')or('InvFull')
    End
    Procedure AntiBan;
    Begin;
    If(Not LoggedIn))then
    Exit;
    Case;Random(8)of
    0:
    Begin;
    HoverSkill('Woodcutting'),false)
    Wait(2453+random(432));
    End
    1:PickUpMouse;
    2:
    Begin;
    MakeCompass('N');
    Wait(100)+random(133));
    MakeCompass('S');
    Wait(50+random(133));
    MakeCompass('N')
    End;
    End;
    End;

    begin;
    SetUpSRL;
    ActivateClient;
    DeclarePlayers;
    ChopTree;
    end.

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Please do not make multiple threads about the same script.
    Be patient and wait for answer!
    http://villavu.com/forum/showthread.php?t=69698

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
  •