Ouivile
07-21-2009, 03:51 PM
so im making (Attempting at the least - which IS something so blow me haters) a script for outside rs2 (3 now?) needs. because i like scar and the idea of scar and its almost like a puzzle for me to see what i can do with it...anyway. so can someone explain how to make my own includes, of course you would need to know what i know soooo this is what happend so far:
i have looked thru the srl includes in structure of file location and the actual script (which it is organized yet remarkably confusing.) i tried to make do with what i could figure out. but that ended up being almost nothing. (on the conscious level at least).
heres kinda what i need:
i need a way to use procedures as functions. i use the main pre-given scar functions because they are faster, simpler, and i have no need for antiban stuff. ok i know i can use procedures as functions in a main loop, but that kinda doesnt work because i somtimes need to use procedures within procedures which wont work. hence i need them to be functions?!?!???? idk...
also. even then i reuse the procedures in other scripts. however. it takes up space and resources to have to copy and paste the functions into every script. that is why i need to make includes. it would be so much easier! i duno how though.
can someone give me an example (plz waaayyy simpler than srl) of how to make a function and include and etc ^^^^^^^.
i also realize as ive been told i do not make sense sometimes. so if i confused you, let me know il try to re explain.
also ironically i cant give you guys what im working with because it does not yet exist haha. well....it used to. i just delteted it. and now im going to remake it. much better cuz hopefully now ill use my own functions and includes.
thanks srl. which i hope to be part of and help some people out in return.
i have looked thru the srl includes in structure of file location and the actual script (which it is organized yet remarkably confusing.) i tried to make do with what i could figure out. but that ended up being almost nothing. (on the conscious level at least).
heres kinda what i need:
i need a way to use procedures as functions. i use the main pre-given scar functions because they are faster, simpler, and i have no need for antiban stuff. ok i know i can use procedures as functions in a main loop, but that kinda doesnt work because i somtimes need to use procedures within procedures which wont work. hence i need them to be functions?!?!???? idk...
also. even then i reuse the procedures in other scripts. however. it takes up space and resources to have to copy and paste the functions into every script. that is why i need to make includes. it would be so much easier! i duno how though.
can someone give me an example (plz waaayyy simpler than srl) of how to make a function and include and etc ^^^^^^^.
i also realize as ive been told i do not make sense sometimes. so if i confused you, let me know il try to re explain.
also ironically i cant give you guys what im working with because it does not yet exist haha. well....it used to. i just delteted it. and now im going to remake it. much better cuz hopefully now ill use my own functions and includes.
thanks srl. which i hope to be part of and help some people out in return.