Results 1 to 5 of 5

Thread: Hi, I need help.

  1. #1
    Join Date
    Feb 2007
    Location
    AZ
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Hi, I need help.

    Hi, I am in dire need of help. I am new to here and scripting with SRL and I need help with the GetXP(skill: string): integer; function. I need to know how to define which skill to get the xp from. Is it just the skills name as it is ingame, or is it all caps, or all lowercase... Anyways, I don't know, so any help would be appreciated!

    Thanks!

  2. #2
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    It shouldn't matter what case it is in because in the function, it is converted to lowercase anyway. Just make sure you spell the skill properly.

  3. #3
    Join Date
    Feb 2007
    Location
    AZ
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default thanks, but...

    Quote Originally Posted by ZephyrsFury View Post
    It shouldn't matter what case it is in because in the function, it is converted to lowercase anyway. Just make sure you spell the skill properly.
    Thanks for that, but whenever I do that, it comes up as "Identifier Expected"
    Could you please post an example.

  4. #4
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    xp := getxp('mining');

  5. #5
    Join Date
    Feb 2007
    Location
    AZ
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Thank You

    Quote Originally Posted by jhildy View Post
    xp := getxp('mining');
    Thank You! It works! I was putting the xp := thing after the GetXP() function!
    Thanks!

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
  •