Results 1 to 2 of 2

Thread: help with a script

  1. #1
    Join Date
    Apr 2006
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default help with a script

    i was wondering if there is anyone here that could tell me what to add to a script to make it use SRL anti randoms, and also i would like to add something to make it pick up items based on color, thanks -chunkylover

  2. #2
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    For making antirandoms work, make procedure:
    SCAR Code:
    procedure Declareplayers;
      begin
      HowManyPlayers:=1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer:=0;

         Players[0].Name :='Name' //replace with player Name
         Players[0].Pass :='Pass'    //replace with player Password
         Players[0].Nick :='Nick'     //replace with player NickName
         Players[0].Loc  :='';
         Players[0].Active:=True;
          end;

    for using antirandoms make
    SCAR Code:
    procedur Randoms;
    begin
    FindNormalRandoms;
    (other antirandom stuff)
    end;

    Start main loop using this;
    SCAR Code:
    begin
    SetUpSRL;
    Declareplayers;
    (your stuff...)
    end.

    For picking items up:
    SCAR Code:
    if(Findobj(x,y,'Name',color,tolerance)then begin
    Mouse(x,y,2,2,false)
    Clickoption('Name',1)
    end;
     end;

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
  •