SRL Archive - First Scripts

Flyingkid101's AutoSpammer!!!!


flyingkid101

2007-11-25 01:08:28

Hi and THANKS for checking out my first script!!!

I know that this is another Auto Spammer but im really new to this so i tried. :P

Anyway, here are the instructions, which are also included inside the script

{**********************This Is My Very First Script!!!!*************************
**********************Flyingkid101's AutoSpammer v 1.0!!!!***************************
**********************I N S T R U C T I O N S**********************************
**********************1. Setup lines 30,38,47,51,52****************************
**********************2. Specify the Client Window*****************************
**************************3. Run and Enjoy*****************************************}



here is the script

program Flyingkid101AutoTalker;
{.include SRL/SRL.scar}

var
Text: String;
x: Integer;


procedure Auto1;
begin
Text:= 'Wassup ';//Enter the first thing you want your character to say
// You can also add text effects such as Flash1
// If you add effects, dont forget the ":"
TypeSend(Text);
end;

procedure Auto2;
begin
Text:= 'YESSIR ';//Enter the second thing you want your character to say
TypeSend(Text);
end;

begin
x:=0;
repeat
x:=x+1;
Auto1;
wait(1000+random(1000))///enter how many milliseconds you want the script to
///wait before it enters the next set of text

Auto2;
wait(1000+random(1000))
until (x>=10);///Enter how many times you want the script to type the two texts
/// This number is represented by the '10'
end.




PLEASE POST COMMENTS OR SUGGESTIONSS!!!!1 THANKS

xiitteri

2007-11-28 16:14:38

nice

flipsk8r1106

2007-11-28 16:16:36

nice… i like it

freedox

2007-11-29 08:12:02

You have learned the basic of scripting and you can now make better scripts…I think that you will be fine in srl-forum:)
Keep going lad;)

Puffo

2007-11-29 08:21:39

Hello..Its a okay first script i think..Its good to know how to type and stuff like that…But in your next script you should set the "settings" at the top of the script eksampel set "Text:=;" and "Wait" at the top so we dont have to look in the hole text after settings…
(Sorry for my English)

ecclesiastes

2007-11-29 08:36:01

Good… apart from the fact that it has no FindRS (just a suggestion, it would be good).

flyingkid101

2007-11-30 19:04:35

thx for all the comments guys!! idk what ill make next though

Daniel

2007-12-01 23:38:35

You could use this update i made for your script. You can learn off it:

{===================================================================]
[ FlyingKid101's AutoSpammer ]
[ ]
[ NAME : FlyingKid101's AutoSpammer ]
[ WRITER : FlyingKid101 edited by IP-Drowner ]
[ CATEGORY : Talker ]
[ DESCRIPTION : Talk's what the user tell's it to talk. ]
[ SRL Used : Any ]
[ SCAR Used : Any ]
[ ]
[ More Scripts can be found at ]
[ www.SRL-Forums.com ]
[===================================================================]
[ Instructions. ]
[===================================================================]
[ 1. Setup lines 28-33 ]
[ 2. Select the Runescape Client by dragging the crosshair ]
[ 3. Watch the script do it's job. ]
[ 4. To stop the script, press your assigned HotKey ]
[===================================================================}

program Flyingkid101AutoTalker;
{.include SRL/SRL.scar}

const{ant}
Sen1 = 'Hello!'; //First Sentence to type.
Sen2 = 'Sup'' All'; //Second Sentence to type.
Sen3 = 'Levels?'; //Third Sentence to type.
WTIM = 1000; //Wait time in between typing. Use Miliseconds.
XAM = 10; //How many time's to say those three sentences.
TFAST = False; //Type super fast? True or False.

var
x: Integer;

begin
ActivateClient;
x:=0;
if(TFAST = True) then
begin
repeat
SendKeys(Sen1 + Chr(13));
Wait(WTIM + Random(789))
SendKeys(Sen2 + Chr(13));
Wait(WTIM + Random(871))
SendKeys(Sen3 + Chr(13));
Wait(WTIM + Random(601))
x:=x+1;
Until(x>=XAM);
end else
repeat
TypeSend(Sen1);
Wait(WTIM + Random(789))
TypeSend(Sen2);
Wait(WTIM + Random(871))
TypeSend(Sen3);
Wait(WTIM + Random(601))
x:=x+1;
Until (x>=XAM);
end.[/scar]

Hope that could help you in your scripting career :)

flyingkid101

2007-12-02 19:28:37

yeah it does alot thx, i wont be able to script for awhile though busy with schoolwork and such

eric4721

2007-12-02 20:11:03

Definitely need to use indents. It makes it much neater and easier to read.

washimingo

2007-12-03 12:29:38

nice :cool:

mooney

2007-12-10 14:41:13

Not bad for a starter,you know all the basics and have the ability to become a a master S.R.L scripter:(h):

flyingkid101

2008-01-09 17:43:10

l

ehcrew

2008-01-10 08:00:00

Itis workibg so good.,