SRL Archive - First Scripts

10 line talker my first! works!!


dannymet

2007-07-21 06:22:47

i just created my FIRST SCRIPT
i tried to make many scripts like cooker and stuff but thats too advanced and i never got anywhere
so i decided to make an easier script, an auto talker… i know theres many, but it was easiest one
IT WORKS!!!


i dont know if it will work in rs lol, just tested it in notepad, u have to click on notepad as soon as u start it, otherwise it will autotype in the scar script, can someone help me to make it so it selects the window specified when it starts?

lol no antirandoms… who needs em?:f: :D

{
this is my well-good but simple working auto tlker

thank you for all them wonderfully helpful tuts out there!!!


Made by:

|||| |||||||| || || || || || || ||| ||| |||||||||| ||||||||||||
|| || || || ||| || ||| || || || |||| |||| || ||
|| || || || |||| || |||| || || || || || || || || ||
|| || |||||||| || || || || || || |||| || || || || |||||| ||
|| || || || || || || || || || || || ||| || || ||
|| || || || || || || || || || || _ || || || ||
|| || || || || |||| || |||| || / \ || || || ||
|||| || || || ||| || ||| || \ _ / || || |||||||||| ||

}

program DannymetsAutotalker;
{.include SRL/SRL.scar}
const
//this is the setup, between lines 24 and 36
firstmsg = 'type message 1 here' ; // message number 1 goes here
secondmsg = 'type message 2 here' ; // message number 2 goes here
thirdmsg = 'type message 3 here' ; // message number 3 goes here
fourthmsg = 'type message 4 here' ; // message number 4 goes here
fithmsg = 'type message 5 here' ; // message number 5 goes here
sixthmsg = 'type message 6 here' ; // message number 6 goes here
seventhmsg = 'type message 7 here' ;// message number 7 goes here
eigthmsg = 'type message 8 here' ; // message number 8 goes here
ninethmsg = 'type message 9 here' ; // message number 9 goes here
tenthmsg = 'type message 10 here' ; // message number 10 goes here
WaitT = 5000; //the time between the messages are sent with a 1.5 second random added

//DO NOT TOUCH THE BELOW unless u know what ur doing =P

Procedure autotalk;
begin
TypeSend (firstmsg);
wait((WaitT)+random(1500));
TypeSend (secondmsg);
wait((WaitT)+random(1500));
TypeSend (thirdmsg);
wait((WaitT)+random(1500));
TypeSend (fourthmsg);
wait((WaitT)+random(1500));
TypeSend (fithmsg);
wait((WaitT)+random(1500));
TypeSend(sixthmsg);
wait((WaitT)+random(1500));
TypeSend(seventhmsg);
wait((WaitT)+random(1500));
TypeSend(eigthmsg);
wait((WaitT)+random(1500));
TypeSend(ninethmsg);
wait((WaitT)+random(1500));
TypeSend(tenthmsg);
wait((WaitT)+random(1500));
end;

begin
wait(5000);
SetUpSRL;
Repeat
autotalk;
until(false)
end.




just finished f key script!! use f1 - f10 for each message. thanx a very lot to jad who helped me a lot to do this!! :D


{
this is my well-good but simple working auto tlker

thank you for all them wonderfully helpful tuts out there!!!


Made by:

|||| |||||||| || || || || || || ||| ||| |||||||||| ||||||||||||
|| || || || ||| || ||| || || || |||| |||| || ||
|| || || || |||| || |||| || || || || || || || || ||
|| || |||||||| || || || || || || |||| || || || || |||||| ||
|| || || || || || || || || || || || ||| || || ||
|| || || || || || || || || || || _ || || || ||
|| || || || || |||| || |||| || / \ || || || ||
|||| || || || ||| || ||| || \ _ / || || |||||||||| ||

}

program DannymetsAutotalker;
{.include SRL/SRL.scar}
const
firstmsg = 'type message 1 here' ; // message number 1 goes here press f1
secondmsg = 'type message 2 here' ; // message number 2 goes here press f2
thirdmsg = 'type message 3 here' ; // message number 3 goes here press f3
fourthmsg = 'type message 4 here' ; // message number 4 goes here press f4
fithmsg = 'type message 5 here' ; // message number 5 goes here press f5
sixthmsg = 'type message 6 here' ; // message number 6 goes here press f6
seventhmsg = 'type message 7 here' ;// message number 7 goes here press f7
eigthmsg = 'type message 8 here' ; // message number 8 goes here press f8
ninethmsg = 'type message 9 here' ; // message number 9 goes here press f9
tenthmsg = 'type message 10 here' ; // message number 10 goes here press f10
procedure autotalk;


begin
if(IsFKeyDown(1))then
begin
TypeSend(firstmsg);
end;
if(IsFKeyDown(2))then
begin
TypeSend(secondmsg);
end;
if(IsFKeyDown(3))then
begin
TypeSend(thirdmsg);
end;
if(IsFKeyDown(4))then
begin
Typesend(fourthmsg);
end;
if(IsFKeyDown(5))then
begin
Typesend(fithmsg);
end;
if(IsFKeyDown(6))then
begin
TypeSend(sixthmsg);
end;
if(IsFKeyDown(7))then
begin
TypeSend(seventhmsg);
end;
if(IsFKeyDown(8))then
begin
TypeSend(eigthmsg);
end;
if(IsFKeyDown(9))then
begin
Typesend(ninethmsg);
end;
if(IsFKeyDown(10))then
begin
Typesend(tenthmsg);
end;
end;

begin
SetupSRL;
repeat
autotalk;
until(false)
end.

JAD

2007-07-21 08:46:38

Very nice. You even made it undetectable using SRL commands :) good work!

What you should do is use the IsFKeyDown function so the user can just press the f keys to type which message they want. Try checking out my tutorial (links in sig) things the beginner tuts don't teach you. Read the first chapter and that will teach you about the FKeyDown function and several more undetectable SRL functions (like it teaches TypeSend (which you already got down :p)).

Anyways, good job, and keep up the good work!

dannymet

2007-07-21 10:28:51

okay, doesnt runescape now use fkeys for shortcuts though?


okay fkey script finished!!! its posted in the first post!!! have a look and test plz!!!

eddie

2007-07-21 12:08:59

From: dannymet
okay, doesnt runescape now use fkeys for shortcuts though?


I think you're right. Bummer.

Anyway, Very nice for a first working script :)

dannymet

2007-07-21 13:58:50

From: eddie
I think you're right. Bummer.

Anyway, Very nice for a first working script :)


thanx, are there any that are better than mine? or is mine just the betsest 1337est script ever made? :P

Harry

2007-07-21 14:04:04

Needs to do something useful (ie fighting or woodcutting) so its a no, nice try :D

JAD

2007-07-21 17:39:46

From: hy71194
Needs to do something useful (ie fighting or woodcutting) so its a no, nice try :D


Lol, this isn't his members app :confused:

:p

dannymet

2007-07-22 06:08:03

From: JAD
Lol, this isn't his members app :confused:

:p


its coz i said, is this the 1337est script ever? or are there any better ones lol

Killerdou

2007-07-22 07:24:27

there is a begger script, that accepts trades;) and i think some auto talkers have a form…