SRL Archive - First Scripts

Autotyper - how suprising.


phailurism

2007-05-24 17:35:45

doesn't totally suck IMO.
although i'd like you hear your opinion.


//////////////////////////////////
//// ~PHAILURISM'S AUTOTYPER ////
//// Press F2 to start typing ////
//// Setup lines 10-13 ////
//////////////////////////////////
program AutoTyper;
{.include SRL/SRL.scar}

Const
msg= '~Phailurism r0x'; //your message
times= 5; // how many times to type the message
waittime= 3000; // how long to wait in between each message
speed= 50; // how long to wait between each letter when typing


procedure TypeAndSend(s: string);
var
letter: Integer;
begin
if(not(LoggedIn))then
Exit;
for letter:= 1 to Length(s) do
begin
Sleep(speed + Random(5));
TypeSend(Copy(s, letter, 1));

end;
end;


begin
SetupSRL;
while times > 0 do
begin
if(IsFKeyDown(2))then
begin
for x:= 1 to times do
begin
TypeAndSend(msg);
wait(waittime);
end;
end;
end;
end.

~PH :cartman:

Pwnt by Pwnt

2007-05-25 19:46:56

:) looks good for a first script… just some things to change.. maybe add something like in the const
Msg = 'Blah Blah Blah';//First Message
Msg2 = 'Blah Blah Blah, Im A Pretty Pricess;//Second Message
Msg3 = 'I Dont Auto... *Looks Around To Make Sure Theres No Mods* ...';Third Message
and then do stuff like
Is(FKeyDown(12)) then
begin
Msg;
If(IsFKeyDown(8)) then
begin
Msg2;
If(IsFKeyDown(6)) then
begin
Msg3;
end;
end;
end;
u dont NEED to put that stuff in.. just would be better for more randomizing… and also nice idea for the
Times = 5;//Times To Say The Message
:o i never thought of that when i made my auto talker :p i think ur gonna become a really good scripter :) if u have MSN add me.. im [email]Pwnt_by_Pwnt@hotmail.com[/email]

Dan Cardin

2007-05-25 20:31:58

i think itd be better if it just said things when u pushed like F2, or F3. stuff like that…cuz most people want to autotalk instead of writing long messages..so they just push a button andi types it…instead of a number of times…so they can pick the message and the time at which it says it

The devil

2007-05-26 02:06:15

Nice script for a first poster!

Well done!

runescapeautoer123

2007-11-13 07:18:18

not bad good job