SRL Archive - First Scripts

[Rs2] My first script (autotalker)


k1ll3r

2007-03-28 19:17:04

I hope ya'll like it :) it took me like 5mins..lol


program AutoTalker;
{.include SRL\SRl.SCAR}

Const
Message1=('hello'); //add more for more typing

Begin
Repeat
Wait(1000+Random(50));
TypeSend(message1);
Until(False)
end.

Rune Hacker

2007-03-28 21:58:30

Whats the point of posting a script that took 5 minutes lol. Make a good script that others could use, that would be much better lol. But its still a start i guess.

caius_dio

2007-03-30 19:07:07

oh btw u forgot to set up srl

tomtomsparklingstar

2007-03-31 17:15:31

From: caius_dio
oh btw u forgot to set up srl



What does setup srl do?

JAD

2007-03-31 22:04:13

@Tom, SetupSRL; calls for setting up the include or else you will get an access violation.

back on topic. You should read my tutorial "things the beginner tuts don't teach you" links in sig. scroll down on chapter 1 to the auto talker with the IsFKeyDown command. it will teach you so that if the user presses the f10 key for example, it will type the message instead of doing it excessively when the user may not want it too.

@Rune, he is allowed to post any script he wants, for any reason. if he feels pround of a script he made and wants to share it with the others for advice, then thats fine. now he can get some constructive criticism to help him on his way.