SRL Archive - RS3 Help

Built In Functions


Parade

2015-06-14 13:39:32

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.

Turpinator

2015-06-14 13:43:44

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

Clarity

2015-06-14 13:45:06

From: Parade
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.

J_R

2015-06-14 13:45:42

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.

Gu3st...

2015-06-14 13:50:41

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

Parade

2015-06-14 14:05:28

Sweet, very Helpful. Thanks!