SRL Archive - First Scripts

PassionDrive's AutoTyper!


passiondrive

2007-06-23 17:46:35

My First Script, A Simple Auto Typer Please Download, Test, And Leave Constructive Feedback!

PassionDrive.

the scar noob

2007-06-23 17:51:14

nice try but writeln only types message in the scar debug box, you should check srl folder for more functions/procedures you can use that actually sends the text to rs and not to scar debug box.
Fucntions like TypeSend or TypeHuman.

The Scar Noob.

passiondrive

2007-06-23 17:54:37

Type Human Will Be Less Likely To Get Banned?

EDIT: Updated Script
Please leave feedback!
{ This Is My First Script So Feedback Would Be Greatly Appreciated!
Thanks In Advance

PPPPPPPPPDDDDD
PPPPPPPPPDD DDD
PP PPDD DDD
PPPPPPPPPDD D
PPPPPPPPPDD D
PP DD D
PP DD D
PP DDDDDDDDDDDD}

Program FirstAuto;
{.include SRL\SRL.Scar}

Const
Message1='Yo!';// Put In What You Want The AutoTyper To Say!

Procedure SetUp;
begin
SetUpSRL;
end;

Procedure WriteIn;
Begin
Wait(5000+random(398));
TypeSend(Message1)
End;


Begin;
Repeat
SetUpSRL;
WriteIn;
Until(false)
End.

ZephyrsFury

2007-06-23 23:02:18

you dont really need any procedures in your script because they are really short. you can just put the TypeSend and the SetupSRL straight into the main loop. Also, you don't need to SetupSRL every time you say a message. (i dont even know why you need it in the first place).

for a next update you could put in multi line talking and customisable wait times. for this you will need to learn how to use variables and arrays.

ill pm you on how to use variables and there are array tutorials in the tuts forum.