Page 3 of 3 FirstFirst 123
Results 51 to 54 of 54

Thread: Using SRL...

  1. #51
    Join Date
    Mar 2007
    Location
    Ohio
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Adolis View Post
    After looking through it, I became very confused. Since this is the tutorial island section, I think it's appropriate for me to ask how the arrays work and how I set the values for:
    Rand: String; // * Stuck inside Random
    Skill:'Mining' String; // * User Action to Perform
    Level:'31' array[0..21] of word; // * Levels of all skills. SetIn GetPlayerLevels.
    Worked: Integer; // * Time User has worked
    Banked: Integer; // * Number of Banks User has done
    Booleans: Array of Boolean; // * For reports, etc.
    Integers: Array of Integer; // * For reports, etc.
    Strings : Array of String; // * For reports, etc.
    Extendeds : Array of Extended; // * For reports, etc.

    After I set these values, I have my player record set right? Could you provide me with a complete example? I think I could learn it better if I compared what I'm making to an official player record. Thanks.

    *Is it allowable for me to request an example?
    im pretty sure you can ask for examples of these, i think i know what your trying to ask so here goes
    SCAR Code:
    Players[0].Name :='qwertyuiop';
    Players[0].Pass :='';
    Players[0].Nick :='iop';
    Players[0].Worked := 0;// You can keep this at zero and add time to it during a progress report
    Players[0].Active:=True;
    Players[0].Booleans[0] := false;//Lets say this is a mining script this could ask if pick was in inventory
    Players[0].Integers[0] := 2;//Can be used to see how many loads to do
    Players[0].Skill := 'mining';//This is used for genies to select which skill to use

    Anything else just ask, and use [SCAR*] tags [/SCAR*] without the *'s

  2. #52
    Join Date
    Apr 2007
    Posts
    0
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That randoms are actually nice. I've won uncut diamond last night with the box

  3. #53
    Join Date
    Mar 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    good tut but i still dont havesome questions answered but thanks i learned about the nickname thing!

  4. #54
    Join Date
    Oct 2008
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow this would have saved me a lot of time if I'd read it before I started my first script.

Page 3 of 3 FirstFirst 123

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
  •