SRL Archive - First Scripts

My First Ever Script! Plz Review


Pkrange1155

2008-10-20 16:03:38

Hi Ppl as of this is my first script i thought i should post it here… Subject Specific… this is it its a typer … plz review and post comments :)

Here tis…

var
I : Integer;
Text : TStringArray;

begin
Text := 'put text in here',
'your text',
'your text here',
'final blah'];
for I := 0 to High(Text) do
begin
TypeSend(Text);
Wait(500 + Random(400));
end;
end.

Sorry if i'm posting the format wrong plz correct me if i am.

Thankyou Very Much

Pkrange1155 - Rue

Blumblebee

2008-10-20 16:33:35

yeah put scar tags around, makes it easier to read ;)

it looks pretty good, i liek how you used an array in your first script, impressive. Congrads on learning to script, hope to see more from you :)

BlackThursday

2008-10-20 16:36:46

Here you go matey:

var
I : Integer;
Text : TStringArray;

begin
Text :=['put text in here',
'your text',
'your text here',
'final blah'];
for I := 0 to High(Text) do
begin
TypeSend(Text[i]);
Wait(500 + Random(400));
end;
end.

The use of the array was quite nice. Keep it up.

guyver

2008-10-21 02:25:02

Nicely done pkrange111. Very impressive for a first!! Keep up the good work and make sure when u post your script that u use the SCAR tags as suggested. :spot:

joelster134

2008-10-21 19:46:52

Nice try for first script :) keep reading tuts and remember to put [.SCAR] tags around your work or just upload it.