SRL Archive - First Scripts

STalker My first script.


ssaccount

2008-05-29 12:23:12

Hi. This si my first own made script so far. Im not sure that if someone has made this before but i started SCAR scripting today and im proud of my work :)

Here is the script:



program STalker;
var
i: String;


begin
i:='Hi there'; // Replace the violet text with text you want to say
repeat
wait(2000 + random(2000));
SendKeys(i + chr(13));
until(false);
end.

runeman11

2008-05-29 13:15:33

You might not wanna use this since, unless i am horribly mistaken, sendkeys gets you banned…

sirlaughsalot

2008-05-29 13:20:39

It would be better to use this:



Program RevisedSTalker;
{.include SRL/SRL.Scar}
Var i : Integer;
Const
Write='whatever';

Begin
Repeat
TypeSend(''+Write)
Wait(1000)
until i>=10
end.

Im pretty sure that will work…

Edit: In the future use SCAR tags instead of CODE =D and yes the one you made would get you banned =/

ssaccount

2008-05-30 09:28:20

Ok thx for info dudes. Im gona use other in future.

Naum

2008-05-30 09:41:18

You must keep adding onto 'I' otherwise it will repeat for ever,

Good First Script Btw ;)

ssaccount

2008-05-30 09:51:14

From: NaumanAkhlaQ
You must keep adding onto 'I' otherwise it will repeat for ever,

Good First Script Btw ;)


Thx. Im very happy when ppl says something nice :)

musicalmacrocosm

2008-05-30 21:06:56

is it necessary to put in "var" if you don't use any variables?

tojoh

2008-05-31 09:49:32

Nope you dont need to put "var" in if you aint using any variables.