SRL Archive - Help and Support

Newb Question


Chaos-Energy

2006-05-12 12:39:46

I'm thinking of making a Willowcutter but I got a little question about the Woodcutting include of SLR. (SRL > SRL > skills > woodcutting.scar)

Do I need to copy the bits of code into my script or do I just have to include it. I checked the script and somewhere in the middle it says about dropping all the logs so if I include it, won't it do that? :confused:

Keen

2006-05-12 13:00:08

To include SRL into your script you will need to add this to the top of your script.

[PHP]{.include SRL/SRL.scar}[/PHP]

That includes all the core SRL functions and procedures.

You will also will have to put this at the top of your script

[PHP]{.include SRL/SRL/Skill/Woodcutting.scar}[/PHP]

That includes all the fuctions and procedure that relate to woodcutting.

So just add this to the top of your script:

[PHP]{.include SRL/SRL.scar}
{.include SRL/SRL/Skill/Woodcutting.scar}[/PHP]