Log in

View Full Version : Using SRL



anandacote
11-25-2006, 01:51 AM
Can anyone help me with SRL:confused: :confused: . I have fill the script but all it does when i start it, is log me in. Then it doesnt do anything. I want it to mine then drop, then log on a new player then mine then drop...etc

The following text is from the SRL manual. I don't understand it.:duh:
****************************************
Using SRL.

You can use SRL just like any other include. Add {.include SRL/SRL.scar} at the beginning of your script, and call SetupSRL once (at script startup) to initialize the library. You will now have control over the SRL/core functions.
Skill includes will need to be included seperately. If you want to use the SRL mining services, just add {.include SRL/skill/Mining.scar} and call SetupSRLMining once at script startup to initialize the mining library.
Misc includes will also need to be included seperately.

********************************************
Can anyone explain to me what it means??

hellboy3331
11-26-2006, 09:06 PM
Always, at the very top of your script,(UNDER program new;) add this:

{.include SRL/SRL.scar}


And at the start of your main loop, add this: (under your last "begin")

SetupSRL;


If you use functions from skills, include them as well(add them too).


But this is for if you MAKE the script. If you use other ppl's scripts, you won't need it.

anandacote
11-26-2006, 11:32 PM
thanks for your help!! Here is an other question.
**********************************************
What are the folowing folders used for. They are found in the SRL folder.
-Setup SRL
-SRL
-SRL tamplate