Log in

View Full Version : A Question



antknee3
10-02-2006, 04:43 PM
Im new to scar scripting and I was wondering if someone could answer my questions.
I was playing around with scrpting and i was using the srl include.

How do u call upon a function that is in the srl manual?
For example there is a function that deposits into the bank, do i just need to call on the function or do I have to put the entire coding in.

Thanks

Flyboy
10-02-2006, 04:49 PM
Instead of answering directly, I suggest you download a working script which everyone says is super L337 (maybe one made by Dankness or Fawki) and study it to see how they apply SRL in thier scripts. (hint {.include srl\srl.scar} might be a starting point.:bart:

antknee3
10-02-2006, 04:56 PM
Instead of answering directly, I suggest you download a working script which everyone says is super L337 (maybe one made by Dankness or Fawki) and study it to see how they apply SRL in thier scripts. (hint {.include srl\srl.scar} might be a starting point.:bart:

yea i tried that and there seems to be a lot of coding but im still new and cant really figure it out.

I know about {.include srl/srl.scar}. When I type that in does it give me acess to all the functions within that include. Or do i still have to go to that include and copy the coding into my script?

Eduard
10-02-2006, 09:20 PM
Why you think incude are made :P ... to copy and paste it again...
Lol no ! , a include means in includes all functions of that "inculde".
So if the inculdefile : Eduard.txt
Had


Function Mmouse; integer;
blablbla;
end.

you can use, in your main loop :


mmouse;



:)


~Ed

Flyboy
10-03-2006, 06:24 AM
{.include srl/srl.scar} is like a shotcut which copys and pastes EVERYTHING in srl.scar at the time of compiling. If it is easyer for you, you can just copy and pasete the srl.scar into your script. Hope this answers your question.:D

weibs
10-03-2006, 08:27 PM
Everything except the extended files, misc files, and skills. Those you'd have to add another include for.

antknee3
10-05-2006, 01:47 AM
yep that answers my questions. Thanks guys.