Page 1 of 2 12 LastLast
Results 1 to 25 of 36

Thread: So You want to be a scripter....

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

    Default So You want to be a scripter....


    For All Questions / Add Me on MSN( pwnaz0r@hotmail.com ) or post here!!!


    PLEASE REMEMBER TO:
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    | | ------------------------------------------->
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    AND

    !!!!!!!!!!!!!!!!!!!!!!!!!
    | |
    !!!!!!!!!!!!!!!!!!!!!!!!!









    LIST OF BASIC TERMINOLOGY

    Debug Box = The Box At the bottom Of SCAR (The Biggest One ).

    Constant = A value that does not change in a script.


    Variable = A value that can change in a script.


    Integer = A number.


    String = Words.


    Boolean = true/ false.


    Extended = a number also just a different kind.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Ok now the First thing your going to want to learn is CONSTANTS

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    CONSTANTS
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



    You have to " state " or " declare " it before you use it Like so.

    SCAR Code:
    Const
      UserName = hi;


    Basically you have said its a constant because it has
    SCAR Code:
    const
    before it. See how const goes bold? You have now declared it is a "constant" as it will not change throughout your script.


    The second thing your going to want to know is VARIABLES. These are things that can change throughout the script like times banked, trees cut, etc.



    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    VARIABLES
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    What They Do : This is a "Value" that can be changed in a script.

    Now you have to state this also as you have to with a constant. Do that like so:

    SCAR Code:
    var
       TimesBanked : integer;// Learn About Integer, String, Boolean, and Extended Below.

    Here you have stated the variable correctly.
    Now when you want to change the value of a variable, Such as after you bank, you would say this.

    SCAR Code:
    TimesBanked := TimesBanked + 1;
    (To Change variables always do " := ")

    This tell SCAR that the variable is 1 more than it orginally was.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TYPES OF VARIABLES AND CONSTANTS
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Now there are basically four things variables and constants can be. Integers( Numbers), Strings( Words, Must Have ' ' Around them ), Boolean (Returns true or false, Won't be used until you learn how to script a little better), and Extended( not used much just an "Extended" Number). The first two of these are the only ones you will really use until you get better at scripting.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Integers
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



    Integers are used for everything... Colors, Coordinates, Anything...



    SCAR Code:
    Const
       WaitTime = 68457;
    ^^^
    That would be an example of an Integer;




    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Strings
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Strings are often used to talk and in reports..


    SCAR Code:
    Const
       WordsToSay = 'Hi';//See the ' ' s?

    ^^
    That would be a valid String


    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Boolean
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    Boolean are something that is true or false.



    SCAR Code:
    const
       LogOut = false;

    ^^
    That would be an Correct boolean



    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Extended
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    Unless you are an expert scripter don't learn this yet or you will get them confused with regular integers;

    SCAR Code:
    Var
       SymbolAccuracy := 0.4;

    ^^
    That would be an example of an Extended.

    Now What you can do with variables and these 4 main values combined :

    SCAR Code:
    //With variables you can make these things( these are example scripts)

    program Agoogle;//All Scripts have to have this

    var
      I : integer;//Declared "I" a variable that was an integer;

    procedure Example;
    begin// Always
    I := random(2);// This means that I can be a random of 5 things
    case I of// This is the start of what " I " can be.
    0 : Writeln('hi');// always start with zero or you will get an " Out Of Range " Error
    1 : Writeln('bye');//yup
    end;

    SCAR Code:
    //also like this
    Var
      I : integer;

    Procedure Example;
    begin
      For I := 1 to 3 do;
    end;

    begin
    Example;
    End.

    Remember this for arrays section!!

    Begin// Start of Main Loop
    Example;
    End.//Always put a period after the end of the main loop
    .
    So no that You know all About Symbols and Constants let move on to where they can be used. These two things are called..


    PROCEDURES AND CONSTANTS

    Ok Well there are two things that basically SCAR is composed of. A procedure is basically a job for SCAR to do. A function Is the Same sort of thing but A function will give you a result of one of the 4 types above.

    For example here is a simple PROCEDURE that will make a line appear in the "Debug Box"(The box at the bottom left of scar.).

    SCAR Code:
    procedure Write;// See procedure go bold??
    begin // All things must have a begining and an end
    Writeln('hi');// Writeln is a basic command that write a line in the debug box and is must have a string in the parenthesis See how it has the quotations around it?
    end;

    This Procedure will write the line into the debug box.


    Functions on the other hand have to be done like this:
    ( I know these parameters arent right guys )
    SCAR Code:
    function FindAColor : boolean;//This means if it finds the color, it will result true
    begin// always :)
    result := false;//This is the result of the function we are doin right now. It Starts out as false.
    If(FindColor(0))then//Scroll down to learn about if and then
      begin// see how i spaced twice? Scroll down and go to scripting standards links to find out why
      result := true;//This means that If it Finds the color it will change it to true
      end;//End the begin we started two lines up.
    end;//end the first begin

    Im sorry i can't make that any simpler. That is what those two things do.

    Now Onto Basic Logic things:

    Main Loop
    The Main loop is where you put all the procedures in order. In other words, It tells scar what to do. Always End the " End" in the main loop with a period. These are always stated at the bottom of the script. Read on and look at the scripts below to understand better;

    LOGIC
    Logical Commands:

    SCAR Code:
    Begin/End
    Well Maybe i should i done this at the beggining of the script but im trying to teach you in the most efficient way possible.
    Begin and end is everything in SCAR. You must begin something in every procedure and function and in the MAIN LOOP(Read Down)

    Example

    SCAR Code:
    procedure I;
    Begin//Here
    End;// and here
    Now that procedure will not do anything but you get the basic idea ( hopefully )

    SCAR Code:
    If/then
    This means that IF it does what you state after IF Then
    it will do what you state after then.

    EXAMPLE
    SCAR Code:
    If(FindChatText('hi'))then
      begin
      Writeln('Hi');
      end;

    SCAR Code:
    While/do
    This means that while something is there or happening to do something like.

    SCAR Code:
    While(BankScreen)do CloseBank;


    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    STARTING TO SCRIPT

    Now that you basically know all of the basics, pat yourself on the back. YOU KNOW THE BASICS WOOT.

    Now to go into more advanced stuff i will try to use pictures and videos as accurately as i can.

    ARRAYS

    Now Arrays Are Basically a list of the 4 types of values( usually only integers used for colors and Strings used for like autotalkers.

    Now An Array is A variable. You state them like this:

    SCAR Code:
    var
      TreeColor : array [1..3] of integer;//could be of Any of the 4 types

    Now to set the values of the array, you would do this :
    SCAR Code:
    TreeColor[1] := 43897;
      TreeColor[2] := 345325;
      TreeColor[3] := 324242;

    and to use them you would do this :

    SCAR Code:
    FindColor(x,y,TreeArray[1]);

    or you can do this( If you don't know how then look under the " What you can do with variable section );

    SCAR Code:
    procedure Hello;
    var I := integer;
    begin
     For I := 1 to 3 do
     FindColor(x,y,TreeArray[I]);
    end;
    This will make it search for TreeArray 1, then 2, then 3 in order.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



    Now You basically know what Scar it, How its SetUp, Etc.
    So You Want To Start Scripting
    Here are the most basic TUT's
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    http://www.villavu.com/forum/showthr...?t=2027?t=2455
    http://www.villavu.com/forum/showthr...?t=4625?t=5444
    http://www.villavu.com/forum/showthr...?t=1415?t=1706
    http://www.villavu.com/forum/showthread.php?t=597?t=704
    http://www.villavu.com/forum/showthread.php?t=581?t=683
    http://www.villavu.com/forum/showthread.php?t=50?t=73
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    now all those are good and all but you wanna learn more stuff since you're done doing simple scripts using writeln ()

    Try Out These Tuts
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Radialwalking : For ALl Your Walking Needs!!!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    http://www.villavu.com/forum/showthread.php?t=372?t=452
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    BitMaps:kind of like a picture that scar can find.I recommend Advanced Batch Converter that can be found here :
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    http://www.villavu.com/forum/showthr...?t=1609?t=1952
    http://www.villavu.com/forum/showthr...?t=1442?t=1741
    http://www.villavu.com/forum/showthread.php?t=596?t=703
    http://www.villavu.com/forum/showthr...?t=1116?t=1283



    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    DTMs : Deformable Template Module(I think)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    http://www.villavu.com/forum/showthr...?t=1085?t=1249
    http://www.villavu.com/forum/showthr...?t=1353?t=1637
    http://www.villavu.com/forum/showthread.php?t=564?t=663
    ~~~~~~~~~~~~~~~~~~~~~~~~~~



    AntiRandoms : O so important!!!!!!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    http://www.villavu.com/forum/showthread.php?t=633?t=743
    ~~~~~~~~~~~~~~~~~~~~~~~~~~



    Forms :
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    http://www.villavu.com/forum/showthr...?t=1616?t=1961 <--- Ultamite
    http://www.villavu.com/forum/showthr...?t=5165?t=6010
    http://www.villavu.com/forum/showthr...?t=1101?t=1266
    http://www.villavu.com/forum/showthr...?t=5427?t=6284 <--- Form during runtime
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Arrays : Read to learn
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    http://www.villavu.com/forum/showthr...ighlight=Array http://www.villavu.com/forum/showthr...?t=4309?t=5106 <-- arrays in arrays
    http://www.villavu.com/forum/showthr...?t=3747?t=4502
    ~~~~~~~~~~~~~~~~~~~~~~~~~~



    Scripting Standards : Things to make your scripts look nice & neat
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    http://kaitnieks.com/scar/scriptingsta/ <------- Official Site
    http://www.villavu.com/forum/showthr...?t=5195?t=6042
    http://www.villavu.com/forum/showthr...?t=3293?t=3997
    http://www.villavu.com/forum/showthr...?t=4676?t=5496
    ~~~~~~~~~~~~~~~~~~~~~~~~~



    Other Useful Tuts :
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    http://www.villavu.com/forum/showthr...?t=4812?t=5635 <--- teaches advanced color finding techinique
    http://www.villavu.com/forum/showthr...?t=4064?t=4845 <------F.A.Q.
    http://www.villavu.com/forum/showthr...?t=3562?t=4302 <-------How To become an SRL Member
    http://www.villavu.com/forum/showthread.php?t=?t=4953 <------ How to delete your UID in a scar script( this is what you they kind of identify you by ).

    SOME OF MY PROCEDURES JUST COPY AND PASTE ( PLEASE GIVE CREDITS IF YOU USE THOUGH)

    PZ FULL ANTIRANDOMS
    SCAR Code:
    program PZFullAntiRandoms;
    {.include srl/srl.scar}
    {.include srl/srl/skill/woodcutting.scar}
    {.include srl/srl/skill/fishing.scar}
    {.include srl/srl/skill/mining.scar}


    function PZFullAntiRandoms(skill, LampSkill, RunAwayDir : string; WaitTime, TreeColor : integer; LogForMod, LogForQuiz : boolean) : boolean;
    var a , kkkkkk, gx, gy: integer;
    begin
      If(skill = 'Fishing' ) or (Skill = 'fishing') then
        begin
          SetupSRLFishing;
        end;
      If( skill = 'Mining' ) or ( Skill = 'mining' ) then
        begin
          SetUpSRLMining;
        end;
      for kkkkkk := 0 to 27 do
      case kkkkkk of
      1 : SetScreenName(Players[CurrentPlayer].Name);
      2 : If(FindFight)then
            begin
              result := true;
              RunAwayDirection((RunAwayDir));
              wait(10000+random(5000));
              RunBack;
            end;
      3 : repeat
            A := A + 1;
              If(FindName)then
                begin
                  FindTalk;
                end;
          until(a = 5) or ( result = true )
      4 : If(FindNormalRandoms)then
            result := true;
      5 : If(FindForester)then
            begin
              result := true;
              wait(WaitTime);
              LoginPlayer;
            end;
      6 : If(FindLamp(LampSkill))then
            result := true;
      7 : If(SolveGenie(LampSkill))then
            result := true;
      8 : If(FindDead)then
            result := true;
      9 : If(FindPlant)then
          result := true;
      10 : If(FindMaze)then
             result := true;
      11: If(FindMime)then
            result := true;
      12 : If(FindScapeRune)then
             result := true;
      13 : If(SolvePinball)then
             result := true;
      14 : If(FindPlant)then
             result := true;
      15 : If(DetectFrogCave)or(FindFrogCave)then
             begin
               result := true;
               SolveFrogSwamp;
             end;
      16 : If(FindTalk)then
             result := true;
      17 : If(FindNewBox)then
             begin
               result := true;
               SolveBox;
             end;
      18 : If(FindCerter)then
             begin
               result := true;
               CerterLoadBmps;
               SolveCerter;
               FreeCerterBmps;
             end;
      19 : If(TalkToRand)then
             result := true;
      20 : If(FindDemon)then
             result := true;
      21 : If(NoGameTab)then
             begin
               Logout;
               WriteLn('No Game Tab');
               NextPlayer(false);
             end;
      22 : If(FindQuiz)then
             begin
               result := true;
               If(LogForQuiz=true)then
                 begin
                   Logout;
                   NextPlayer(False);
                   Players[CurrentPlayer].Loc := ' Quiz ';
                 end;
               If(LogForQuiz=false)then
                 begin
                   SolveQuiz;
                 end;
             end;
      23 : If(SolveSandWich)then
             result := true;
      24 : If(Skill = 'Fishing ')or (Skill = 'fishing')then
             begin
               If(FindFishingEquipMent)then
                 begin
                   result := true;
                 end;
             end;
      25 : If(Skill = 'Mining') or ( Skill = 'mining' ) then
             begin
               If(FindPick)then
                 begin
                   result := true;
                 end;
               If( GasColors( gx, gy ) ) then
                 begin
                   result := true;
                 end;
               end;
      26 : If(skill = ' Woodcutting' ) or (Skill = 'woodcutting')then
             begin
               If(FindHead)then
                 result := true;
               FindBirdsNest;
                 result := true;
               If(FindEnt(TreeColor))then
                 result := true;
               end;
      27 : If(LogForMod=true)then
            begin
              If(FindMod)then
                begin
                  result := true;
                end;
            end;
      end;
    end;
    ^^^^^^^^^^^^
    Notes:
    Remeber for woodcutting always Use FindAxeHeadColors, For Mining FindPickHeadColor, And Fishing FindFishingEquipmentColor. REMEBER TO INCLUDE THE RIGHT INCLUDES!!

    ^^^^^^^^^^^^^^
    List of Basic Commands(In Alphabetical order from includes)
    SCAR Code:
    //AntiBan
    // * procedure RotateEvery(mins:integer);              // * by Stupid3ooo
    // * procedure RandomChatEvery(mins:integer);          // * by Stupid3ooo
    // * procedure RandomRClick;                           // * by phantombmx
    // * procedure RandomRClickEvery(mins : Integer);      // * by phantombmx
    // * procedure LeaveScreenEvery(mins:integer);         // * by Stupid3ooo
    // * procedure KillScript(hours:integer);              // * by Stupid3ooo
    // * procedure HoverSkill(skill:string);               // * by Dankness
    // * procedure HoverEvery(mins:integer;skill:string);  // * by Dankness
    // * procedure AntiBan;                                // * by Stupid3ooo
    // * function MessageFriend(Row: integer; S: string): boolean; // * by XxKanexX
    // * procedure SetMessageFriendEvery(Secs, Row: integer; Messages: array of string); // * by XxKanexX
    // * procedure MessageFriendEvery;                     // * by XxKanexX
    // * procedure PickUpMouse;                            // * by dark_sniper
    // * procedure SayCurrentLevels(which : string);       // * by RealRune
    // * procedure AlmostLogout;
    SCAR Code:
    // AutoColor
    //  Â» function  FindWaterColor: Integer;     | by Tarajunky
    //  Â» function  FindRoadColor: Integer;      | by Tarajunky
    //  Â» function  FindFallyRoadColor: Integer; | by Tarajunky
    //  Â» function  FindRockColor: Integer;      | by Tarajunky
    //  Â» function  FindDirtRoadColor: Integer;  | by Tarajunky
    //  Â» function  FindBridgeColor: Integer;    | by Tarajunky
    //  Â» function  FindLadderColor: Integer;    | by Tarajunky
    //  Â» function  AutoColorThis(Bitmap, MaxTol, X1, Y1, X2, Y2:Integer) : integer;


    SCAR Code:
    //Auto Talk
    // * procedure LoadWords;  // * by Mutant
    // * procedure RussianWords;  // * by WT-Fakawi
    // * procedure FrenchWords;  // * SDcit
    // * procedure SpanishWords;  // * SDcit
    // * procedure EnglishWords;  // * SDcit
    // * procedure DutchWords;    // * Freddy1990
    // * procedure PolyGlotTalk;  // * SDcit
    // * procedure TextDataBase;
    // * function IsOnline(Row: integer): boolean; // * by XxKanexX
    // * function OnlineCount: integer; // * by XxKanexX
    // * function Exists(Row: integer): boolean; // * by XxKanexX
    // * function ClickFriend(Row: integer): boolean; // * by XxKanexX
    SCAR Code:
    //Banking
    // * function  BankScreen:Boolean;                     // * by RSN
    // * function  PinScreen:Boolean;                      // * by Starblaster100
    // * function  InPin(pin: string): Boolean;            // * by RSN / Starblaster100
    // * Procedure FixBank;                                // * by RSN
    // * procedure OpenBank;                               // * by Stupid3ooo  / Mutant Squirrle
    // * procedure OpenBank3;                              // * by RSN / Mutant Squirrle
    // * procedure Deposit(slot, toslot, thetype:integer); // * by PPLSUQBAWLZ / Stupid3ooo
    // * procedure Withdraw(Col,Row,Amount:integer);       // * by PPLSUQBAWLZ / Stupid3ooo
    // * procedure DepositAll;                             // * by Mutant Squirrle
    // * Function  FindBank(TheBank:string): Boolean;      // by WT-Fakawi
    // * Procedure CloseBank;                              // by RealRune
    // * Function OpenBankQuiet(WhichBank:string):Boolean; // by WT-Fakawi
    // * Function OpenBankGlass(WhichBank:String; ChangeCompass:Boolean): Boolean; // By Wizzup?

    SCAR Code:
    //BitMaps
    // * function FindBitmapsProgressiveTol(bmp1,bmp2,bmp3,bmp4,bmp5,tolmax,step,xs,ys,xe,ye:integer):boolean; // * by Stupid3ooo
    // * Function FindBitMapTol(var TX,TY:integer; BitMap,x1,y1,x2,y2:integer):Boolean;                        // * by WT-Fakawi
    // * Function FindBitMapTolRaiser(BitMap,x,y,StartingTol,EndingTol,p1,p2,p3,p4:Integer):Boolean;  // * by Sdcit
    // * Function FindDeformed(var Xoff,Yoff: integer; BMP,a,b,c,d: integer): Boolean;

    SCAR Code:
    //ColorFinding
    //  Â» function  FindColorRightTol(var cx,cy: Integer; dacolor,ax1,ay1,ax2,ay2,tol: Integer): | by RSN
    //  Â» function  FindMMColor(color:integer):boolean;                                   | by Stupid3ooo
    //  Â» function  FindMMColorTol(color,tol:integer):boolean;                            | by Stupid3ooo
    //  Â» procedure ClickMMColor(color:integer);                                          | by Stupid3ooo
    //  Â» procedure ClickMMColorTol(color,tol:integer);                                   | by Stupid3ooo
    //  Â» function  FindMSColor(color:integer):boolean;                                   | by Stupid3ooo
    //  Â» function  FindMSColorTol(color,tol:integer):boolean;                            | by Stupid3ooo
    //  Â» procedure ClickMSColor(color:integer;left:boolean);                             | by Stupid3ooo
    //  Â» procedure ClickMSColorTol(color,tol:integer;left:boolean);                      | by Stupid3ooo
    //  Â» function  FindColorEllipse(var x, y: integer; Color, Tol, X1, Y1, X2, Y2: integer): boolean; | by BenLand100
    //  Â» function  FindColorsEllipse(var Points: TPointArray; Color, Tol, X1, Y1, X2, Y2: integer): boolean; | by BenLand100
    //  Â» function  FindColorAbstract(var x,y: integer; Color, Tol, x1,y1,x2,y2,x3,y3,x4,y4: integer): boolean; | by BenLand100
    //  Â» function  FindColorsAbstract(var Points: TPointArray; Color, Tol, x1,y1,x2,y2,x3,y3,x4,y4: integer): boolean; | by BenLand100
    //  Â» function  ScanForObj(Scanwidth, Scanheight, Color, Tolerance: Integer; Name, DebugName: string): Boolean | by Pplsuqbawlz
    //  Â» function  FindColorTolRaiser(var x, y, xe, ye, xs, ys, Color, BeginTol, EndTol: integer; Spiral: Boolean): Boolean;  | by Sdcit
    //  Â» function  FindSimColorBase(color, xs, ys, xe, ye, LTimes, sTol, Distance: integer): integer; | by XxKanexX
    //  Â» function  FindSimColor(color, xs, ys, xe, ye, tol, dist: integer; hardsearch: boolean): integer; | by XxKanexX
    //  Â» function  FindSimColorMany(var save: array of integer; many, color, xs, ys, xe, ye, tol, dist: integer; hardsearch: boolean): integer; | by XxKanexX
    //  Â» function  FindMMRoadColor: Integer; | by XxKanexX
    //  Â» function  FindColorFromCentre(var x, y: Integer; Cx, Cy, Color, Radius, Tol: Integer): boolean; | by XxKanexX
    //  Â» function  ColorDistanceTolerance(Col1, Col2, xs, ys, xe, ye, tol: Integer): Integer; // * By XxKabexX
    //  Â» function  ColorDistance(Col1, Col2, xs, ys, xe, ye, tol: Integer): Integer; // * By XxKabexX
    //  Â» procedure ClickRandomlyOnColour(Colour, x, y, xa, ya : Integer; Left : Boolean); // * By Spky
    //  Â» function  FindColorCircle(var x, y: Integer; color, radius, MidPointx, MidPointy: Integer): Boolean; | by Freddy1990
    //  Â» function  FindColorCircleTolerance(var x, y: Integer; color, radius, MidPointx, MidPointy, tolerance: Integer): Boolean; | by Freddy1990
    //  Â» function  MouseColor(var x, y : Integer; color, radius, tol : Integer): Boolean; // * by Krazy_Meerkat
    //  Â» function  FindClosestColor(var x, y, matchingcolour : Integer; colour, xs, ys, xe, ye : Integer): Boolean; // * by Krazy_Meerkat
    //  Â» function  FindColorSkipBox(var x, y: Integer; color, x1, y1, x2, y2: Integer; box: TBox): Boolean; | by Freddy1990
    //  Â» function  FindColorSkipBoxTolerance(var x, y: Integer; color, x1, y1, x2, y2, tolerance: Integer; box: TBox): Boolean; | by Freddy1990
    //  Â» function  FindColorSkipBoxArray(var x, y: Integer; color, x1, y1, x2, y2: Integer; box: TBoxArray): Boolean; | by Freddy1990
    //  Â» function  FindColorSkipBoxArrayTolerance(var x, y: Integer; color, x1, y1, x2, y2, tolerance: Integer; box: TBoxArray): Boolean; | by Freddy1990
    //  Â» function  ScanMMColorExact(var x, y: Integer; color: Integer): Boolean; | by Freddy1990
    //  Â» function  ScanMMColorTolerance(var x, y: Integer; color, tolerance: Integer): Boolean; | by Freddy1990
    //  Â» procedure ClickExactMMColor(color: Integer); | by Freddy1990
    //  Â» procedure ClickExactMMColorTol(color, tolerance: Integer); | by Freddy1990
    //  Â» function  ScanMMAreaColorExact(var x, y: Integer; x1, y1, x2, y2, color: Integer): Boolean; | by Freddy1990
    //  Â» function  ScanMMAreaColorExactTolerance(var x, y: Integer; x1, y1, x2, y2, color, tolerance: Integer): Boolean; | by Freddy1990
    SCAR Code:
    //DTMS
    // * function FindDtmIn(var FX, FY: Integer; DTM, X1, Y1, X2, Y2: integer): boolean; // * by BenLand100
    // * function WeAreInMM(WhichDTM:Integer): Boolean;  // * by WT-Fakawi
    // * function WeAreInMS(WhichDTM:Integer): Boolean;  // * by WT-Fakawi
    // * Function ClickMMDTM(DTM:Integer): Boolean;      // * by WT-Fakawi
    // * Function ClickMSDTM(DTM:Integer): Boolean;      // * by WT-Fakawi
    // * function FindMSDtm(dtm:integer):boolean;        // * by Stupid3ooo
    // * function findinvdtm(dtm:integer):boolean;       // * by Dankness
    // * function FindMMDtm(dtm:integer):boolean;        // * by Stupid3ooo
    // * function FindMMColorDTMBase(DTM, Base, Tol: Integer): Integer; // * by XxKanexX
    // * function FindMMColorDTMBaseDouble(DTM, DTM2, Base, Base2, Tol: Integer): Integer; // * by XxKanexX

    SCAR Code:
    //GameTabs
    // * GameTab 1  = Fightmode
    // * GameTab 2  = Statistic
    // * GameTab 3  = Quest
    // * GameTab 4  = Inventory (see Inventory.scar)
    // * GameTab 5  = Wield
    // * GameTab 6  = Prayer
    // * GameTab 7  = Mage
    // * GameTab 8  = Add Friend
    // * GameTab 9  = Del Friend
    // * GameTab 10 = LogOut (See Login.scar)
    // * GameTab 11 = Tools
    // * GameTab 12 = Run/Emotes
    // * GameTab 13 = Music
    //****************************************************************************//

    // * function  GetCurrentTab : Integer;                          // * By Devil Elbow / Starblaster100
    // * procedure GameTab(tabnumber:Integer);                       // * By Mutant Squirrle / Starblaster100
    // * procedure SetFightMode(oFightMode:integer);                 // * by Stupid3ooo
    // * Function  GetStatFor(stat:string; bottom:integer):integer;  // * by Odie5533
    // * Function  GetHp:integer;                                    // * by Odie5533
    // * function  SkillCoords(row, column: Integer): Tpoint;        // * by RSN
    // * function  GetSkillAmount(skill: string): Integer;           // * by RSN
    // * function  GetSkillLevel(skill: string): Integer;            // * by RSN
    // * Function  GetStat(stat : string):integer;                   // * By Mutant Squirrle
    // * function  NextLevelAt(Skill:String):Integer;                // * by phantombmx
    // * function  XpTilNextLevel(Skill:String):Integer;             // * by phantombmx
    // * function  HpPercent: Integer;                               // * by RSN
    // * procedure Brightness(Intensity : String);                   // * By phantombmx
    // * procedure SetQuestPos(QuestName: String; Members: Boolean); // * by phantombmx
    // * function QuestStarted(QuestName: String; Members: Boolean): Boolean; // * by phantombmx
    // * function QuestDone(QuestName: String; Members: Boolean): Boolean; // * by phantombmx
    // * procedure Retaliate(Yes : Boolean);                         // * By Spky
    // * function  EquipmentCoords(i : Integer) : TPoint;            // * by RSN
    // * function  WearingItem(i : Integer) : Boolean;               // * by RSN
    // * procedure TakeOff(i : Integer);
    // * Function  CheckEquipItems(number:Integer): Boolean;         // * by SDcit
    // * procedure DoEmote(EmoteNumber : Integer);                   // * By Sumilion
    // * procedure RandomEmote;                                      // * By Spky
    // * procedure MusicSet(Setting:String);                         // * by phantombmx
    // * function TakeOffName(ItemName: String): Boolean;            // * by Freddy1990
    // * function IsNameEquiped(ItemName: String): Boolean;          // * by Freddy1990
    // * function GetEquipPosName(var iPos: Integer; ItemName: String): Boolean; // * by Freddy1990
    //  Â» function TabExists(TabNumber: Integer): Boolean; // * By Flyboy

    SCAR Code:
    //Inventory
    // * function ItemCoords(i: Integer): TPoint;                   // * by RSN
    // * procedure MMouseItem(i: Integer);                          // * by RSN
    // * procedure MouseItem(i: Integer; left: Boolean);            // * by RSN
    // * procedure UseItem(invin: Integer);                         // * by RSN
    // * procedure DragItem(inv1, inv2: Integer);                   // * by RSN
    // * function ExistsItem(i: Integer): Boolean;                  // * by RSN
    // * function InvCount: Integer;                                // * by RSN
    // * function InvFull: Boolean;                                 // * by RSN
    // * function InventoryCount: Integer;                          // * Starblaster100
    // * function FindRS: Boolean;                                  // * by RSN
    // * function FindLoginScreen : Boolean;                        // * by Krazy_Meerkat & phantombmx
    // * function CountItemColor(color:integer):integer;            // * by Stupid3ooo
    // * function CountItemColorTol(color,tol:integer):integer;     // * by Stupid3ooo
    // * function CountItemBmpTol(bmp,tol:integer):integer;         // * by Stupid3ooo
    // * function CountItemDtm(dtm:integer):integer;                // * by Starblaster100
    // * function CountItemName(name:string):integer;               // * by Stupid3ooo
    // * function FindItemColor(color:integer):boolean;             // * by Stupid3ooo
    // * function FindItemColorTol(color,tol:integer):boolean;      // * by Stupid3ooo
    // * function FindItemBmpTol(bmp,tol:integer):boolean;          // * by Stupid3ooo
    // * function FindItemName(name:string):boolean;                // * by Stupid3ooo
    // * procedure ClickItemColor(color:integer;left:boolean);      // * by Stupid3ooo
    // * procedure ClickItemColorTol(color,tol:integer;left:boolean);   // * by Stupid3ooo
    // * procedure ClickItemName(name:string;left:boolean);             // * by Stupid3ooo
    // * procedure ClickItemBmpTol(bmp,tol:integer;left:boolean);       // * by Stupid3ooo
    // * procedure ClickAllItemsColorTolWait(option:string;color,tol,waitnum:integer);
    // * procedure ClickAllItemsBmpTolWait(optionx:string;bmp,tol,waitnum:integer);
    // * procedure ClickAllItemsNameWait(optionx,name:string;waitnum:integer);
    // * procedure ClickAllItemsColor(option:string;color:integer);
    // * procedure ClickAllItemsName(option,name:string;color:integer);
    // * procedure ClickAllItemsBmpTol(option:string;bmp,tol:integer);
    // * procedure ClickAllItemsColorTol(option,name:string;color,tol:integer);
    // * procedure DropItem(i:integer);                                 // * by Lorax
    // * procedure DropAll;                                             // * by Lorax
    // * Procedure DropTo(x,y:Integer);                                 // * by Sdcit
    // * Procedure DropExcept(I : array of Integer);                    // * by Spky
    // * function DropInvPosition(i : Integer): Boolean;                //Mutant Squirrle
    // * procedure DropToPosition(StartPosition, EndPosition: Integer); //Mutant Squirrle
    // * procedure DropHold(keep:string);                               //Mutant Squirrle
    // * function CountInvSlot(var items: integer; row, col: Integer): Boolean; // * by Freddy1990
    // * function ArrangeInv;

    SCAR Code:
    //Login
    // * function LoggedIn:boolean;                     // * by Stupid3ooo
    // * Procedure Logout;                              // * by Stupid3ooo
    // * Procedure LoginPlayer;                         // * by WT-Fakawi
    // * Procedure NextPlayer(Active: Boolean);         // * by WT-Fakawi
    // * procedure RandomNextPlayer(Active : Boolean);  // * by WT-Fakawi and Dankness
    // * Procedure LogOutEvery(hours,forxmins:integer); // * by Stupid3ooo
    // * Procedure HighestAngle;                        // * by Starblaster100

    SCAR Code:
    //MapWalking
    //// * Function  FindCompassAngle: Integer;                                           // * by Tarajunky
    // * Procedure Face(direction:string);                                              // * by Stupid3ooo
    // * Procedure MakeCompass(direction: string);                                      // * by Lorax
    // * Procedure WalkAsideColorTol(Color:integer;MoveDir,HugSide:string;Tol:integer); // * by Stupid3ooo
    // * Procedure WalkAsideColor(Color:integer;MoveDir,HugSide:string);                // * by Stupid3ooo
    // * Procedure RoadWalkTol(RColor:integer;Dir:string;Tol:integer);                  // * by Stupid3ooo
    // * Procedure SetRun(run:Boolean);                                                 // * by Stupid3ooo
    // * Procedure RunAwayDirection(direction:string);                                  // * by Stupid3ooo
    // * Procedure RunBack;                                                             // * by Stupid3ooo
    // * Procedure RoadWalk(RColor:integer;Dir:string);                                 // * by Stupid3ooo
    // * Function  RadialWalk(TheColor:Integer; StartRadial,EndRadial:Integer; Radius:Integer; Xmod,Ymod:integer): Boolean; // * by Wizzup? and WT-Fakawi
    // * Function  LinearWalk(TheColor:Integer; Direction:Integer; Radius:Integer; Xmod,Ymod:integer): Boolean;             // * by Wizzup? and WT-Fakawi
    // * Function  MakeTrueAngle(Angle: Integer): Integer;                              // by * Liquid
    // * Procedure AngleWalk(Angle, Distance, Randomx, Randomy: Integer);               // by * Liquid
    // * Procedure AngleWalker(Angle, Distance, Randomx, Randomy: Integer);             // by * Liquid
    // * Procedure AWalk2(Angle, Radius, Color : Integer);                              // by * Starblaster100
    // * Function  DTMFlag(DTM:integer;Click:Boolean): Boolean;                         // by * WT-Fakawi
    // * Function  RoadWalkDTMTol(RColor,DTM:integer; Dir:string; Tol:integer; Click:Boolean): Boolean;  // by * WT-Fakawi
    // * Function  Road2DTMWalk(Rcolor,DTM:integer; Dir:string; Click:Boolean):Boolean;                  // by * WT-Fakawi
    // * Function  DTM3Flag(DTM1,DTM2,DTM3:integer;Click:Boolean): Boolean;                              // by * WT-Fakawi
    // * Procedure ToBankers(var BankColor:integer;MouseAdjustX,MouseAdjustY:integer);                   // by * Stupid3ooo
    // * Procedure PerfectNorth;                                                                         // by * WT-Fakawi
    // * procedure RoadWalkTol2(RColor : Integer; Dir : String; Tol : Integer); // * By XxKanexX
    // * procedure RoadWalkTolExt(RColor : Integer; Dir : String; Tol, ex, ey : Integer);  // * By XxKanexX
    // * procedure RoadWalkGDist(RColor : Integer; Dir : String; Tol : Integer); // * By XxKanexX
    // * procedure RoadWalkTolGDistExt(var Dist: Integer; RColor : Integer; Dir : String; Tol, ex, ey : Integer); // * By XxKanexX
    // * function EstimateDist(Steps: integer; Direction: String): integer;  // * By XxKanexX
    // * function StepsDist(Dist: Integer; Direction: String): Integer;  // * By XxKanexX
    // * procedure WalkDist(Distance, RoadColor, Tol: integer; Direction: String); // * By XxKanexX
    // * procedure WalkDistEstimate(Steps, RoadColor, Tol: Integer; Direction: String);  // * By XxKanexX
    // * procedure walkhalfway(xl, yl : Integer); // * by Krazy_Meerkat

    SCAR Code:
    //Math
    // * function Distance(x1, y1, x2, y2:  Integer):  Integer; //PPLSUQBAWLZ edit BenLand100
    // * function Point(x, y: Integer): TPoint; //RsN
    // * procedure LoadCoSineArrays;// Mutant Squirrle
    // * function FixD(Degrees: extended): extended; // BenLand100
    // * function AdjustD(Angle, Adjustment: extended): extended;// BenLand100
    // * function Degrees(Radians: extended): extended; // BenLand100
    // * function FixR(Radians: extended): extended; // BenLand100
    // * function AdjustR(Angle, Adjustment: extended): entended; // BenLand100
    // * function Radians(Degrees: extended): extended; // BenLand100
    // * function Fract(number: longint): longint; // BenLand100
    // * function BinCoe(a, b: longint): extended; // BenLand100
    // * function ArcSin(X: extended): extended; // BenLand100
    // * function ArcCos(X: extended): extended; // BenLand100
    // * function Tan(X: extended): extended; // BenLand100
    // * function ArcTan(X: extended): extended; // BenLand100
    // * function ArcTan2(Y, X: extended): extended; // BenLand100
    // * function GetSplinePt(Points: TPointArray; Theta: extended): TPoint; // BenLand100
    // * function MakeSplinePath(Points: TPointArray; ThetaInc: extended): TPointArray; // BenLand100
    // * function MidPoints(Path: TPointArray; MaxDist: integer): TPointArray; // BenLand100
    // * function InAbstractBox(x1, y1, x2, y2, x3, y3, x4, y4: integer; x, y: integer): boolean; // BenLand100
    // * function ToCart(point: PPoint): TPoint; // BenLand100
    // * function ToCartOffset(point: PPoint; offset: TPoint): TPoint; // BenLand100
    // * function ToPolar(point: TPoint): PPoint; // BenLand100
    // * function ToPolarOffset(point, offset: TPoint): PPoint; // BenLand100
    // * function inAngle(Origin: TPoint; Angle1, Angle2, Radius1, Radius2: extended; X, Y: integer): boolean; // BenLand100
    // * function Randomize(Original, RandomN: Integer):Integer; // Mutant Squirrle
    // * function TMax(choices:arrayof integer): integer; //XxKanexX
    // * function SimilarFloats(tFloat1, tFloat2: Extended; tTol: Integer): Boolean; //Lorax
    // * function Hash(const Str: string): integer; //BenLand100
    // * function sine(degrees:integer):extended;
    // * function cose(degrees:integer):extended;
    // * function NormDist(MaxNum: integer): Integer; //Flyboy / inspired by lardmaster

    SCAR Code:
    //MouseFlag
    // * procedure Swap(var a, b: Integer);                       // * By PPLSUQBAWLZ
    // * procedure swapPoint(var a, b: TPoint);                   // * By PPLSUQBAWLZ
    // * procedure Bubble(var a : TPointArray; var d:TIntegerArray; N : Integer);  // * By PPLSUQBAWLZ
    // * function  MakeSplinePath(Sx, Sy, Ex, Ey, randX, randY, MaxDist, CtrlDist, CtrlVar: integer): TPointArray; // * By BenLand100
    // * procedure MMouse(X, Y, RandX, RandY: integer);          // * By BenLand100
    // * procedure CMMouse(x, y, rx, ry: Integer);               // * By Mutant Squirrle
    // * procedure SetCMMouse(x,y,rx,ry,SControl,EControl,Step,min,max,maxdist,gravity,wind: Integer); // * By Mutant Squirrle
    // * procedure CMouse(x,y,rx,ry:Integer; left:Boolean);  // * By Mutant Squirrle
    // * procedure IdleTime(Time, Rand: integer; Gravity: extended); // * By BenLand100
    // * procedure IdleColor(Rand, Gravity, Color, Tol, X1, Y1, X2, Y2: integer; Exists: boolean); // * By BenLand100
    // * Procedure Mouse(mousex,mousey,ranx,rany:integer; left:boolean);  // * By RSN/Mutant Squirrle
    // * procedure SleepAndMoveMouse(Time: Integer);              // * By RSN
    // * Procedure Flag;                                          // by PPLSUQBAWLZ/Odie533
    // * Function  FlagDist: Integer;                             // by PPLSUQBAWLZ/Odie533
    // * Function  FlagPresent:boolean;                           // * By RSN
    // * function  FlagDistance: Integer;                         // * By RSN
    // * procedure HumanFlag(flagdis: Integer);                   // * By RSN
    // * function  WaitTillFlag: Boolean;                         // * By RSN
    // * procedure MouseFlag(cx,cy,rx,ry: Integer);               // * By RSN
    // * procedure HumanMouseFlag(cx,cy,rx,ry,flagdis: Integer);  // * By RSN
    // * Function  HumanFlag(flagdis:Integer):boolean;            // * by PPLSUQBAWLZ
    // * Function  HumanCircleFlag(Dist:integer): Boolean;        // * by WT-Fakawi
    // * procedure FFlag(Distance : Integer);                     // * by WT-Fakawi
    // * procedure MouseFindFlag(ax,ay,xmod,ymod:integer);        // * by PPLSUQBAWLZ
    // * procedure MouseUntilFlag(xmod,ymod:integer);             // * by PPLSUQBAWLZ
    // * procedure MouseFindNoFlag(ax,ay,xmod,ymod:integer);      // * by PPLSUQBAWLZ
    // * function  Findminimapangle:integer;                      // * by Liquid
    // * function  MouseFindFlagAngle(x1,y1:extended; angle:integer):boolean;  // * by Liquid
    // * procedure ChatsOff;                                      // * By RSN
    // * procedure SetChat(state: string; chat: Integer);         // * By RSN
    // * procedure MouseBox(xs, ys, xe, ye: integer; click: boolean); // * XxKanexX
    // * procedure Drag(x1, y1, rx1, ry1, x2, y2, rx2, ry2: Integer; left: Boolean); // * by Zup
    // * procedure MouseBack(cx, cy, RanX, RanY, RandomEnd, PercentReturn, Click: Integer); // * by phantombmx

    SCAR Code:
    //Object
    //  Â» function FindObjMulti(Text: String; color1, color2, color3, tolerance: Integer): Boolean;
    //  Â» function FindObj(var cx, cy: Integer; Text: String; color, tolerance: Integer): Boolean;
    //  Â» function FindObjMultiText(var cx, cy: Integer; Ut1, UT2, UT3: String; color, tolerance: Integer): Boolean;
    //  Â» function FindObjArea(var x, y : integer; ObjectText : string; x1, y1, x2, y2, ObjectColor, ObjectTolerance : Integer; Center: Boolean): Boolean; // by Mutant Squirrle
    //  Â» function FindObjArea2(var x, y : integer; ObjectText : string; x1, y1, x2, y2, ObjectColor, ObjectTolerance, MinYValue, MinXValue : Integer; Center: Boolean): Boolean; // by Mutant Squirrle
    //  Â» function FindObject(var x, y : integer; ObjectText : string; ObjectColor, ObjectTolerance : Integer; Center: Boolean): Boolean; // by Mutant Squirrle
    //  Â» function FindObject2(var x, y : integer; ObjectText : string; ObjectColor, ObjectTolerance, MinYValue, MinXValue : Integer; Center: Boolean): Boolean; // by Mutant Squirrle
    //  Â» function FindObjEx(var x, y: Integer; ObjText: String; x1, y1, x2, y2, Color, Tol, MinXDist, MinYDist, WaitPerCheck: Integer; Spiral: Boolean): Boolean;
    //  Â» function FindObjectMulti(Text1, Text2, Text3 : String; color1, color2, color3, tolerance, Turns : Integer; MultiText, MultiTimes : Boolean) : Boolean; // by Stupid3ooo / Kernel Klink / Mutant Squirrle
    //  Â» function FindObjDtm(text:string;dtm:integer):boolean;              // * by Stupid3ooo
    //  Â» function FindObjFrom(var fx, fy: integer; x, y, Color, Tol, Step: integer; Text: string): Boolean; // * by BenLand100
    //  Â» function ExamineObj(Text: string; color, tol: integer): boolean; // * by XxKanexX
    //  Â» function FindObjSpe(Text: String; Color, Tol: integer): boolean; // * By XxKanexX
    //  Â» function FindObjectDeformed(var ObjX, ObjY :integer; UpText1, UpText2: String; BMP, a, b, c, d: integer): Boolean; // * By WT-Fakawi

    SCAR Code:
    //Setup
    // *  function getSRLData(dName : String): String;  //*  by Dankness
    // *  function setBoolean ( T : String ) : Boolean; //*  by Dankness
    // *  procedure LoadSRLConfig;                      //*  by Dankness

    SCAR Code:
    //Symbol
    // * function GetSymbolColor(var rx,ry:integer; Name : String) : Integer;   // * by Stupid3ooo extended by WT-Fakawi and Bebemycat2!
    // * function FindSymbol(var rx,ry:integer; Name : String) : Boolean;       // * by Stupid3ooo
    // * Function FindMMSymbolColor: Integer;            // * by WT-Fakawi
    // * FindSymbolColorIfNeeded(SymbolName : String; TerminateIfNotFound : Boolean; var Color : Integer);
    // * FindMMSymbolColor : Integer; // by WT-Fakawi
    // * FindMMSymbol(BitMap : Integer) : Boolean; // by WT-Fakawi
    // * ClickSymbol(BitMap : Integer) : Boolean; // by WT-Fakawi

    SCAR Code:
    //Text
    //  Â» procedure SendText(text: string);            | by RSN
    //  Â» procedure SendText2(text: string);           | by RSN
    //  Â» procedure SendText3(Text : String);          | by SDcit
    //  Â» function  Option2(Text: Dtring):boolean;     | by Freddy1990
    //  Â» function  GetOption:string;                  | by Stupid3ooo
    //  Â» function  GetUpText : String;
    //  Â» function  ReadUpText : Boolean;              | by Mutant Squirrle
    //  Â» function  IsUpText(s: string):Boolean;       | by Masquerader
    //  Â» function  IsUpTextMulti(UpText:string) : Boolean;
    //  Â» function  FindText(txt:string;font,xs,ys,xe,ye:integer):boolean;   | by Stupid3ooo
    //  Â» function  ClickText(txt:string;font,xs,ys,xe,ye:integer;left:boolean):boolean;   | by Stupid3ooo
    //  Â» function  IsChatMessage(s: string): Boolean; | by Stupid3ooo
    //  Â» function  NewChatMsg(txt:string):boolean;    | by Stupid3ooo
    //  Â» function  GetNewChatMsg:string;              | by Stupid3ooo
    //  Â» function  ClearSpaces(Text: String) : String; | by Mad Cow
    //  Â» function  FindInventoryText(txt:string):boolean;       | by Stupid3ooo
    //  Â» function  ClickOption(s: string; i: Integer): Boolean; | by RSN
    //  Â» function  ChooseOption(txt:string):boolean;            | by Stupid3ooo
    //  Â» function  Capitalize(S: string): string;                | by Starblaster100
    //  Â» procedure FindTextSpiral(txt: String; dx,dy: Integer; SpiralSize: Integer; step, SpiralWait: Integer); | By OhDearUrDead, Edited By Khain
    //  Â» procedure CloseWindow;                                 | by Stupid3ooo
    //  Â» function  Hitkeys(send:boolean):integer;               |By Pyro
    //  Â» function  HumanText(Text:string;Chance:integer):string;|By Pyro

    SCAR Code:
    //Timing
    // * function  TheTime: string;                              // * by RSN
    // * function  TimeRunning:string; // * Stupid3ooo modified from Phalanx's script
    // * procedure MarkTime(var TimeMarker:integer);             // * by Stupid3ooo
    // * function  TimeFromMark(var TimeMarker:integer):integer; // * by Stupid3ooo
    // * function  ScriptTime(i: Integer): Integer;              // * by RSN
    // * function  ScriptTime2(mode: integer): string;           // * by RSN

    SCAR Code:
    //Users
    // * procedure LoadUs;                                  // * by Yakman
    // * procedure SaveUs;                                  // * by Yakman
    // * procedure StartPlayers(ShowForm: boolean;Options: string); // * by Yakman

    Ok Well thats sums up all the basic commands of Core

    Join the fastest growing merchanting clan on the the net!

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

    Default

    I Have to leave for something will be back later!!!!!

    Join the fastest growing merchanting clan on the the net!

  3. #3
    Join Date
    May 2006
    Location
    West Coast
    Posts
    820
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice job. Just clean it up a bit, only use one link for scripting standards(use the official scripting standards link here: http://kaitnieks.com/scar/scriptingsta/ ) Also clean up your spelling. Also... Your kind of just giving a bunch of links to other peoples tutorials.... :\

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

    Default

    alright lol im sorry i am a bad speller

    Join the fastest growing merchanting clan on the the net!

  5. #5
    Join Date
    Dec 2006
    Location
    SC
    Posts
    692
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice job. I've been looking for a tut with all(most) SRL functions listed for a while.

  6. #6
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wow great thanks dude. I'm going to go read every one of those tuts now lol. thanks a lot for this, it should help me alot in becoming a better scripter

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

    Default

    Update 1

    Join the fastest growing merchanting clan on the the net!

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

    Default

    update 2

    Join the fastest growing merchanting clan on the the net!

  9. #9
    Join Date
    Mar 2006
    Location
    United States, -7:00 GMT
    Posts
    1,790
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    Don't double post o.O

    *Edit Button*



    As for the post, its pretty good, and if noobs really want to learn how to script, they'll follow that stuff. Good job pwnz0r

    hakuna matata ;)

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

    Default

    so why did you post no >.<

    Join the fastest growing merchanting clan on the the net!

  11. #11
    Join Date
    Mar 2006
    Location
    United States, -7:00 GMT
    Posts
    1,790
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by pwnaz0r View Post
    so why did you post no >.<
    Its not helpful to *me*


    hakuna matata ;)

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

    Default

    lol Well it's not meant for members yet

    Join the fastest growing merchanting clan on the the net!

  13. #13
    Join Date
    May 2006
    Location
    West Coast
    Posts
    820
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yet as in you plan it to be? What are you going to add?

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

    Default

    Yea i know not much to add this was not meant for members is what i mean

    Join the fastest growing merchanting clan on the the net!

  15. #15
    Join Date
    Aug 2007
    Location
    Edgeville
    Posts
    178
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh lala, I liked this one. I'm trying to create an auto cooker, and auto fighter. I don't know how to include more than one color, and I still don't know how to you use color tolerence

  16. #16
    Join Date
    Sep 2007
    Location
    Right behind you!
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    srry dude but that tut sorta sucked

  17. #17
    Join Date
    Aug 2007
    Posts
    78
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This is great I have added it to my favorites so i can come back for reference.

    bobbob30's post is what sucks

    coolluke

  18. #18
    Join Date
    Aug 2007
    Posts
    146
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nice tut thanks still a little confused about some things but i'm getting there
    http://www.fenjer.com/adnan/SRLStats/2976.png

    http://card.mygamercard.net/sol1d+sniper.png

    98% Of teens have signatures starting with 98% of teens. If you agree put this in your sig.

    700+ Hours of autoing!

    http://bux.to/?r=supadude
    ^^^^^^
    Sign up here to start earning cash instantly with Bux.to recieve $0.01 per ad clicked and a $0.05 signup bonus!

  19. #19
    Join Date
    Jun 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks, this really helped!

  20. #20
    Join Date
    Nov 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)
    Wow, nice tut. It helped a lot

  21. #21
    Join Date
    Nov 2007
    Location
    USA
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Great tut. Great support of knowledge introduced in other tutorials. Bookmarked in order for easier referencing. Thanks.

  22. #22
    Join Date
    Dec 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks a lot I was a little confused with some stuff(that is before reading this tutorial), but now I think I understand(hopefully) and I will get started on my first script soon

  23. #23
    Join Date
    Nov 2007
    Posts
    76
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Woah, the basics are easy to understand. Thanks, I'm trying to create basic scripts now.

  24. #24
    Join Date
    Dec 2007
    Posts
    2,766
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    Jeeez i didn't get the const part but thanks to you and others i made my first script (ABC) if the mod approves it

  25. #25
    Join Date
    Jan 2008
    Location
    Houston, Texas, USA
    Posts
    770
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)
    Great tutorial
    It helped me a lot. I added it to favorites for easier access. Thank you for taking the time to write this.

    Hope I see more great tutorials from you in the future....

    ~~ FEAR ~~

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. on my way to be a scripter...PLEASE HELP!
    By faster789 in forum First Scripts
    Replies: 8
    Last Post: 03-24-2008, 05:02 AM
  2. on my way to be a scripter...PLEASE HELP!
    By faster789 in forum OSR Help
    Replies: 11
    Last Post: 03-23-2008, 07:11 PM
  3. If You Are a Scripter...
    By ghost in forum News and General
    Replies: 5
    Last Post: 07-11-2007, 05:56 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
  •