SRL Archive - First Scripts

Auto Typer


kevin0095

2007-12-30 00:03:39

Hey,

This is my first time programming ever. I made a simple auto typer. Thats all I know how to make at the moment :(. But I'll try making more complex ones soon! This is a simple program, but it works well. I hope you like it.

Kevin0095

Version 1.1: Added "ActivateClient" You know longer have to click on runescape window for it to start typing in the runescape window.
Version 1.2: You can now have up to 4 messages. It currently does not repeat in this version. I will try to fix soon.

gamer 5

2007-12-30 00:17:28

begin
ActivateClient;
repeat
typer;
until(false)
end.


Good Work For First Script, But try adding ActivateClient so when you hit go and it automatically goes to the Runescape window and starts typing!

kevin0095

2007-12-30 00:29:55

Thanks. I added that and got this error: Line 22: [Error] (14703:1): Unknown identifier 'ActiveClient' in script

Why is that? Here is what I put in:

program AutoTyper;
{.include srl/srl.scar}
const

message1='Selling Stuff!!!'; //Type your message here

procedure typer;
begin
wait(5000) //this is the amount of milliseconds wait time
//inbetween each messages.
typesend(message1)
end;
begin
ActiveClient;
repeat
typer;
until(false)
end.

Thanks a lot

Kevin095

gamer 5

2007-12-30 00:37:17

Oh you put
activeclient;
its
activateClient;

gamer 5

2007-12-31 13:38:12

{=========================================================================
[ Auto Talker by Kevin0095
[
[
[ NAME : Auto Typer
[ WRITER : Kevin0095
[ Version : 1.2
[ CATEGORY : AutoTalking
[ DESCRIPTION : Autotypes up to 4 messages
[ AUTOCOLOR : No
[ NOTES : Report any bugs please and enjoy!
[ CONTACT : under post on forums
[ SRL REV. : 4 Scar 3.12c// Doesnt really matter it works in all of them.

[
[
[=========================================================================]

program AutoTyper;
{.include srl/srl.scar}
const
message1='Bank Sale!'; //Type your message here
message2='Includes Addy Platemail, Rune Scimi';//2nd message if you only want
//1 message delete this line and 3 and 4
message3='Also has rune battle axe';//3rd message if you only want 2 messages
//delete this whole line and 4
message4='Come here!';//4th message If you only want 3 messages delete
//this whole line

procedure typer;
begin
repeat
wait(5000) //this is the amount of milliseconds wait time
//inbetween each messages.
typesend(message1)
typesend(message2)//If you deleted message 2 above delete this line
typesend(message3)//If you deleted message 3 above delete this line
typesend(message4)//if you deleted message 4 above delete this line
until(false)
end;
begin
ActivateClient;//Goes to runescape window automatically
typer;
end.

I added 4 things that might help you,
1. I added repeat in the right place so it can repeat the messages.
2. I added ActivateClient you know what I was telling you about.
3. I tryied to improve your standards im not 100% sure they are correct.
4. It doesn't really matter which scar or srl you use it should work in all because these are simple commands.

Edit:
Look at my autotalker maybe it will help you.
Click Here