Wow, Thanks for this tut, it will really help me become better with power'ers
I found an error btw*
SCAR Code:
// "//" starts a comment and everything after that wont be compiled
program PowerCutter; // The program name... Can't contain spaces
{.include srl/srl.scar} // This line includes SRL (Very useful :D)
const // This declares a constanst value
TreeColor = 2706759; // This value can't change all script
var // This declares a changing value
x,y:integer; // These are number values that can change DidItWork:boolean; // This is a variable boolean of True or False
TheWord:string; // This is a string of letters that can change
procedure DoThatStuff; // This is your first procedure Anything inbetween
begin // the begin and end is part of this procedure
end; // and can be called by typing DoThatStuff;
begin // This begins the main loop
SetupSRL; // This is needed at the start of SRL scripts
DoThatStuff; // This calls the procedure DoThatStuff;
end. // This ends the mainloop and scipt
SCAR Code:
// "//" starts a comment and everything after that wont be compiled
program PowerCutter; // The program name... Can't contain spaces
{.include srl/srl.scar} // This line includes SRL (Very useful :D)
const // This declares a constanst value
TreeColor = 2706759; // This value can't change all script
var // This declares a changing value
x,y:integer; // These are number values that can change
DidItWork:boolean; // This is a variable boolean of True or False
TheWord:string; // This is a string of letters that can change
procedure DoThatStuff; // This is your first procedure Anything inbetween
begin // the begin and end is part of this procedure
end; // and can be called by typing DoThatStuff;
begin // This begins the main loop
SetupSRL; // This is needed at the start of SRL scripts
DoThatStuff; // This calls the procedure DoThatStuff;
end. // This ends the mainloop and scipt
DidItWork is on the same line as x,y...