Results 1 to 6 of 6

Thread: Built In Functions

  1. #1
    Join Date
    May 2012
    Location
    Texas sounds cool.
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default Built In Functions

    Is there a list of built in functions that our scripts can use. I was looking at a script that has the function "BANK_BUTTON_PRESET_1," which got me thinking to what others there are.
    ~Always remember that you are absolutely unique.
    Just like everyone else.

  2. #2
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default


    this is called the 'function list' where it lists (and allows for searching) all the functions you have access to.

  3. #3
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by Parade View Post
    Is there a list of built in functions that our scripts can use. I was looking at a script that has the function "BANK_BUTTON_PRESET_1," which got me thinking to what others there are.
    Are you referring to the SRL-6 include as a whole? SRL-6 is the default library of RS3 related functions that are used by almost every script, unless using OGL interception or scripting for OSRS where variants are used.

    When a script includes SRL-6 ({$i srl-6/srl.simba}) at the top of the script, you can browse all the available built-in functions in the Functions List on the left side of Simba.

    Nvm ninja'd.

  4. #4
    Join Date
    May 2014
    Posts
    633
    Mentioned
    8 Post(s)
    Quoted
    322 Post(s)

    Default

    That's not a function lol, that's a constant.

    You can find these by looking through the SRL include here: https://github.com/SRL/SRL-6

    For your purposes, I'd suggest looking through /lib/interfaces in the repository and picking the stuff you need from the interface you are working with. For example, the bank stuff would be found in bankscreen.simba in that folder.

  5. #5
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    The functionlist list all procedures, variables, type records, constants and enumerations.

  6. #6
    Join Date
    May 2012
    Location
    Texas sounds cool.
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Sweet, very Helpful. Thanks!
    ~Always remember that you are absolutely unique.
    Just like everyone else.

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
  •