PDA

View Full Version : my first script--need help!



shadowblade
11-25-2006, 09:05 PM
Well my problem is pretty much the same as mod mopars but i cant understand that thread because his script is way ore complicated then mine.
well i did an autoralker using beb's tutorial and i did the basics and learnt something
it types my message into the scar debug box how do i egt it into the runescape window
abd i also dont knoe how to srlerize my script could someone show me step by step and explain it please i am really keen on scripting

heres my basic script

program script;

const
Message1='Hello world!';

procedure hello;
begin
wait(2000)
Writeln(message1);
end;

begin
repeat
hello;
until(false)
End.

Mod Mopar
11-25-2006, 09:07 PM
Change all the Writeln thingies into TypeSend ;)

shadowblade
11-25-2006, 09:09 PM
program script;

const
Message1='Hello world!';

procedure hello;
begin
wait(2000)
typesend(message1);
end;

begin
repeat
hello;
until(false)
End.



like that?

Arr0w
11-25-2006, 09:11 PM
but you need to add this


{.include SRL/SR>scar}

under Program Script;

shadowblade
11-25-2006, 09:14 PM
wat does that do?

Mod Mopar
11-25-2006, 09:14 PM
Oh yea, forgot, sorry

It activates SRL, so you kan use the TypeSend function

~Have to go now, be back tommorow~

shadowblade
11-25-2006, 09:15 PM
wat does it do?

Arr0w
11-25-2006, 09:16 PM
Sorry my keyboard went weids its meant to be:


{.include SRL/SRL.scar}

and that will elt you use the TypeSend procedure.

shadowblade
11-25-2006, 09:17 PM
thanks for everything but like i said what esactly does it do?

shadowblade
11-25-2006, 09:21 PM
ok this is how iv got it

program script;
{.include SRL/SRL.scar}

const
Message1='Hello world!';

procedure hello;
begin
wait(2000)
typesend(message1);
end;

begin
repeat
hello;
until(false)
End.

it keeps sayin that i dont hav srl/scar
and it also says typesend is an unknown identifier

Arr0w
11-25-2006, 09:22 PM
It bascily loads the SRL include and let you use all the procedures and funtions insidee it.

shadowblade
11-25-2006, 09:27 PM
hmmm now why does it say 'typesend' is an unknown identifier
and it also says that srl/srl.scar does not exist

shadowblade
11-25-2006, 09:36 PM
can anyone help me please

Arr0w
11-25-2006, 09:52 PM
ypu need to downlaod SRL

shadowblade
11-25-2006, 09:54 PM
i downloaded srl n scar already installed form this site
http://www.box.net/public/xozkcz5j3d

shadowblade
11-25-2006, 09:56 PM
is that the newest one? if not could you post the link to an already installed srl to scar coz im shit at those type of things lol

shadowblade
11-25-2006, 10:18 PM
ok my scar works its just that this unknown identifire typesend doesnt work could someone please help

shadowblade
11-25-2006, 10:24 PM
w00t i got it to work
now i just need other people to tell me what i should add like that anti bans n shit like dat
well here it is
program script;
{.include SRL/SRL.scar}

const
Message1='Hello world!';

procedure hello;
begin
wait(2000)
typesend(message1);
end;

begin
repeat
hello;
until(false)
End.