SRL Archive - First Scripts

my first script in this wonderful forum


abcanw

2008-02-21 15:39:25

hello all

i bet u r all happy to be in this wonderful forum

this forum helped me to make my first script

it simple but i'm learning more and more to make better scripts like auto fighters and auto miners

i would like to thank srl forum and all the members in it
THANK YOU:)

Richard

2008-02-21 16:02:33

I guess that its OK for your very first script, but just to inform you, if you removed the big thing at the top the file would be half the length and about 1/4 of the size.

If you developed this with a trading function for if you were selling and more complicated functions it would be quite good.

BTW: You didn't need to include for SRL, and you mispelt.

mikevskater

2008-02-21 16:05:54

Wow thats pretty basic… idk if this is what all first autotyper's look like because i never usually look at them. But this is what you should work twords being able to do:

program New;
{.include srl/srl.scar}

var
times: integer;

const
message1 = 'Hello, whats up?';
message2 = 'Fill in with w/e';
message3 = 'Last one!';


procedure talk;
begin
case random(3) of
0: typesend(message1);
1: typesend(message2);
2: typesend(message3);
end;
end;


begin
Times := 0
repeat
talk;
times := times + 1;
wait(random(5000)+2000);
until(times=5)
end.
If you dont understand some of it pm me or comment here and ill help you out.
EDIT: ohh btw in the future, if you want a script looked at, post in scar tags (see my script above) becuase most poeple wont go through the hassle of downloading…
Edit2: Damn you rich xD i had first post :P

Richard

2008-02-21 16:19:45

Now I'm just going to go one step further than mike so you can type a custom ammount of times:
program New;
{.include srl/srl.scar}

var
times: integer;

const
TimesToType = 99999999999;
message1 = 'Hello, whats up?';
message2 = 'Fill in with w/e';
message3 = 'Last one!';


procedure talk;
begin
case random(3) of
0: typesend(message1);
1: typesend(message2);
2: typesend(message3);
end;
end;


begin
Times := 0
repeat
talk;
times := times + 1;
wait(random(5000)+2000);
until(times = TimesToType) or (IsFKeyDown(4)); //Stops when the F4 key is down or when the timetotype is met
end.

mikevskater

2008-02-21 16:23:29

From: dude_richard
Now I'm just going to go one step further than mike so you can type a custom ammount of times:
program New;
{.include srl/srl.scar}

var
times: integer;

const
TimesToType = 99999999999;
message1 = 'Hello, whats up?';
message2 = 'Fill in with w/e';
message3 = 'Last one!';


procedure talk;
begin
case random(3) of
0: typesend(message1);
1: typesend(message2);
2: typesend(message3);
end;
end;


begin
Times := 0
repeat
talk;
times := times + 1;
wait(random(5000)+2000);
until(times = TimesToType) or (IsFKeyDown(4)); //Stops when the F4 key is down or when the timetotype is met
end.

wow man… im trying not to show off to the poor first scripter, i made it clean and simple for the kid, i could make it elaborate and mabey add a form but then it wouldnt really help him would it? Im tempted to go one step further then you now xD

Richard

2008-02-21 16:32:20

C'mon, its not that hard, just a little bit adding to the const section :p

I can slightly see this turning into a minor scripting competition :)

mikevskater

2008-02-21 16:41:14

From: dude_richard
C'mon, its not that hard, just a little bit adding to the const section :p

I can slightly see this turning into a minor scripting competition :)

I was accually think the exact same thing….
but it has to wait, i have baseball conditioning till 7:30-8ish… so its on after that? (on topic: pm me abcanw if you need any help)

Richard

2008-02-21 16:46:04

Bring it on :D

Time to get out the old form editor…

BTW: Which timezone are you in so I know when 7:30 - 8:00ish is. (English here)

EDIT: Probably best to start it somewhere else as I think this may have gone slightly off topic…

abcanw

2008-02-21 17:15:16

thank u guys for this introduction.
for u richard you wont see that big thing at the top again (thats a promise)
and mike enjoy ur baseball.
now im on new script i will post it here so u can see it
on more question how can i became a member?

mikevskater

2008-02-21 19:31:10

From: abcanw
and mike enjoy ur baseball.
now im on new script i will post it here so u can see it
on more question how can i became a member?

No man i didn't… it was a PAIN! i am soooo sore, but yeah to become a member look at this and read it/learn it, its pretty mucha basis of near member material.
http://www.villavu.com/forum/showthread.php?t=9377
Thank JAD for this to while your at it

wasapiguy2

2008-02-22 10:58:28

it looks cool xD

shawnami

2008-02-23 22:49:02

awsome dude

Richard

2008-02-24 07:22:32

I'm reporting you 2 for spam posting, don't just look at a script and say, "Hey that looks good!". Actually use the script, or tell them what they could improve on.

Naum

2008-02-24 07:55:35

Get em my 'son.

hamster

2008-02-24 07:59:00

Your script is pretty basic, but it works. :-)

1 thing that kinda pisses me off though is that when somebody makes a really simple autotyper, people go like 'omfg, nice first script' or 'oh my god, you own, i bet you can make anything'
but when i post some really original scripts (some are somewhat simple, i admit) people go like 'you tried' or 'at least it's a start'…. seriously -.-

03data

2008-02-24 08:42:41

yeah, as long as a script works, it's good, it doesnt have to be uber leet pro and stuff..

Scaper

2008-02-24 08:57:05

not bad for as 1st script pretty basic but keep at it dude ;)

edit:and welcome to the forums;)

DaveyG

2008-02-24 11:36:19

Ah very basic but it's nice