PDA

View Full Version : my first script



oldane
09-01-2007, 05:51 PM
this is my first script sorry its a bit basic but i will get better

HyperSecret
09-01-2007, 05:57 PM
program script;

const
Message1='Hello world!';

procedure Hello;
begin
wait(100)
Writeln(Message1);
end;


begin
repeat
hello;
until(false)
end.program New;
begin
end.

you dont need the
program New;
begin
end.

at the end wont let it run :P:duh:

also it very basic, the same taht you see it A LOT of tuts around here but keep learning and youll eventually get it

Negaal
09-01-2007, 08:35 PM
Well, it's good for start, yeap, look from other scripts or read tuts, try use srl, if you using it for runescape:) :D


program script;

var count :integer;

const
Message1='Hello world!';

procedure Hello;
begin
inc(count);
wait(100)
Writeln(Message1);
end;


begin
repeat
hello;
if count > 10 then
begin
cleardebug
count := 0;
end;
until(false)
end.

photek
09-07-2007, 05:57 AM
Try reading some of the tutorials on this site, there are tons on using SRL 4 and scar 3.11 to create some basic runescape autoing scripts.

You'll get there in the end ^^

Peace out.

shangardezi
09-07-2007, 08:30 PM
its a bit too... basic dont u think but i guess your new to programming , carry on and soon you'll do a better one:)