Log in

View Full Version : how do u use srl???



j man
06-16-2006, 07:09 AM
i am new to srl and i am wondering how do i use it

Roberty Bob
06-16-2006, 09:44 AM
I'm assuming you are not completly new to SCAR...

SRL is just a whoppingingly large tremendously comprehensive "include"
an "include", has commonly called procedures and functions that are used in scripting...
before SRL... there was a nightmare of many different includes, different versions of a given include etc...

The biggest tip to anyone trying to learn how to implement SRL into their scripting...

Browse the SRL manual included in the download... get familiar with the functions and procedures SRL offers... then look at one of the scripts provided to see how it is used in practice. when SCAR is running... press Ctrl and Space at the same time... it will show the procedures available and their syntax... by including SRL... you will see that many more become available.

j man
06-16-2006, 11:08 AM
where can i get srl includeds

phantombmx
06-16-2006, 11:13 AM
at the download right here
http://82.92.130.193/forums/showthread.php?t=2023

read the entire thing to know exactly what to do

sh4d0ws
06-16-2006, 07:25 PM
at the download right here
http://82.92.130.193/forums/showthread.php?t=2023

read the entire thing to know exactly what to do


That of course, would be helpful if we were able to access it :p

phantombmx
06-16-2006, 08:31 PM
its ON the public forum.....

Roberty Bob
06-17-2006, 01:00 PM
I'm tempted to re-register just to see how blatantly obvious the download looks like to a newcomer :p

seriously though... we can't hold people's hands. :confused:

I wouldn't re-register though to risk Fakawi's fiercesome wrath. :eek:

Darknz
06-17-2006, 09:51 PM
So while useing Scar all i have to do is Start script and go to SRL folder and select script

WhiteShadow
06-17-2006, 11:46 PM
This will help alot, probably.

How to Download SRL
Click the link.
http://82.92.130.193/forums/showthread.php?t=2023
*You must have WinRAR if you don't here's a link : http://www.rarlab.com/
Scroll down and click this.
http://img217.imageshack.us/img217/307/srlattcj4gd.png (http://imageshack.us)
Something should pop out. Click Ok, make sure you open with WinRAR.
Pop put should be similar to this. Mine is just black because I picked a different theme.

http://img130.imageshack.us/img130/7205/bank0oh.png (http://imageshack.us)

After it's finished downloading this should popout, then right click the SRL folder and click Extract like I have in this picture here.

http://img205.imageshack.us/img205/49/bank5bw.png (http://imageshack.us)

After that this should pop out. Extract it to C:\Program Files\SCAR 2.03\includes, then press ok. Here's picture for visual help.

http://img227.imageshack.us/img227/9672/bank8qf.png (http://imageshack.us)

To double check that you have SRL included open Scar, then open includes and you should see it.

After that Click the SRL folder, inside you should see this.

http://img161.imageshack.us/img161/6820/srk7bj.png (http://imageshack.us)

And the rest of the directions are in picture above.

Here's an example of using SRL.


program New;
{.include SRL\SRL.Scar}
//you have acess to everything in the core folder.

procedure DeclarePlayers;
begin
StartPlayer:= 0;
HowManyPlayers := 1; // Set Number of Players here.
NumberOfPlayers(HowManyPlayers);
CurrentPlayer:= StartPlayer;

Players[0].Name :=''; //UserName
Players[0].Pass :=''; //Password
Players[0].Nick :=''; //Nick [3 - 4]letters
Players[0].Active:=True; //True or False, Activity.

end;

begin
SetUpSRL;
DeclarePlayers;
LoginPlayer;
repeat
//Your script stuff here
until(False)
end.


Just do a simple script using SRL include and you should be submitted if Fawki's in a good mood. :D