SRL Archive - Outdated Tutorials

Alternate default script!


Freddy1990

2007-01-06 18:32:29

Greetingz people!
Welcome to another tut by … me :)
I've been searching hidden features in SCAR again…
And, well, my search didn't turn up blank!
I found out a very interresting thing actually…
SCAR CAN LOAD ALTERNATE DEFAULT SCRIPTS!
Yes, and of course i just had to post it, since it's very useful…
So, the default script now is:
program New;
begin
end.
Now, most people write scripts for SRL… and most tend to forget SetupSRL; once in a while…
So, we'd want to load for example:
program New;
{.include SRL/SRL.scar}

begin
SetupSRL;
end.
Well, it Is possible, just copy whatever you want to load into notepad/scar and save it in scar's main directory (X:\Program Files\SCAR 2.03\) named "newscript.txt" and it will load that at startup and when pressing New!
I hope this helps some people, have fun ;)

Yakman

2007-01-06 18:49:38

how about a picture? the whole gist of the tutorial seems to be the second last line, its quite easy to miss that
at least make it a new paragraph or something, im quite sure some people are going to end up posting 'whats this tutorial about?'

on the other hand, Great Work! this will be VERY useful to quite a lot of people

in fact i saw a suggestion about this on that thread about scar 2.04, someone wanted the script to start with SRL already included, now they can have it in a more realistic sence

Freddy1990

2007-01-06 18:57:30

From: Yakman
how about a picture? the whole gist of the tutorial seems to be the second last line, its quite easy to miss that
at least make it a new paragraph or something, im quite sure some people are going to end up posting 'whats this tutorial about?'

Lol, a 1 line tut didn't seem very good to me, so i added some more useless text :)
*gets pictures*

EDIT: Man, there isn't much you can add pictures for in this case, lol

Starblaster100

2007-01-06 19:11:10

Freddy - you cheat :P Thats not fair… :(

Excellent Find :)

WhiteShadow

2007-01-06 23:53:53

Oh man, dear Freddy, how do you know all this?!

Thankies, <3. I already have it set up. Now when I press new, I will be all done with setup, DeclarePlayers, and crap which equal instant h4x0ring!

Cheesehunk

2007-01-07 02:28:03

From: BebeMyCat2
Naw, Freddy just hacked his computer, cause freddy's l33t leik dat.



Haha, freddy, nice picture. "TekstDocument"

Bebe

2007-01-07 03:02:35

From: Cheesehunk
Haha, freddy, nice picture. "TekstDocument"

People in Belgium speak funny words just be quite and go along with it….. :p

Freddy1990

2007-01-07 06:02:01

From: WhiteShadow
Oh man, dear Freddy, how do you know all this?!

Well, i try to find new stuff as much as possible in scar, and talking to kaitnieks once in a while does help :)

Hey321

2007-01-07 06:41:50

Wow, nice! I can finally just open up my script and go ctrl+alt+r and getcheating :o!!!

XcanadamanX

2007-01-13 09:44:36

sweet that helps out a lot! thanks

~alex~

2007-04-06 16:32:33

This may be old, but people need to find out about it lol… Awsome stuff, big time saver!

Boreas

2007-04-06 17:18:33

I put it in my FAQ, yet people still get errors because they forgot setupsrl.

Jason2gs

2007-04-09 00:25:56


Bam Bam

2007-06-18 21:33:39

I know that this is old… But its so useful that I just had to post my thanks :D

(Thanks Freddy :P)

:: Bam Bam ::

Wizzup?

2007-06-19 02:29:07

Nice tutorial. (lol old indeed)

Scarf4ce

2007-06-19 02:35:48

I was wondering if there was a way to do this yesterday since it saves some time :). Nice find Fred.

tim46

2007-06-19 19:39:22

Oo sweet. Nice find.

Stevee

2007-06-29 12:30:29

well this has helped me out.. lol

Stevee

2007-06-29 12:36:06

lol it works.. just like speeding up firefox lol