SRL Archive - First Scripts

[SRL4]Shut up! (autotalker&login)


elite_h4x

2007-10-30 01:28:52

Well this is my first script i have made this is basically a auto talker with login please post comments, bugs and advice on this script
thanks :D

looking foraward to reviews

//Please do not post this script without my permission
//Autotype with Login Created by elite_h4x
//special thanks to Hobbit for helping me with this script
program thename;
{.include SRL/SRL.scar}

const TheMessage='ddd';//This is the message u want it to say
HowManyMsgs=2; //This is how many times u want it to say. it set-1 for unlimited
Username='pure might12'; //the name of the acc ur using
Password='*****'; //the password
UseLogin= 'True'; // Set as True or False
var
x:Integer;

procedure Login;
begin //This is the login precedure
MoveMouse(445,289);
wait(100+random(250));
ClickMouse(445,289,true);
wait(200+random(200));
typesend (Username);
typesend (Password);
MoveMouse (299,319);
ClickMouse(299,319,true);
wait(4000+random(500));
MoveMouse (381,333);
ClickMouse(381,333,true);
wait(2000+random(2000));
end;

procedure Talk;
begin
x:=0;
repeat // the beauty of the untill loop
wait(1000+random(750));
typesend (TheMessage);
wait(250+random(250));
x:= x + 1;
until(x >= (HowManyMsgs))
end;

begin
if(UseLogin= 'True')then
begin
Login;
Talk;
end;
if(UseLogin= 'False')then
begin
Talk;
end;
end.

Tazzie 02

2007-10-30 02:48:42

Move Mouse and Click Mouse? Why not use the propper SRL functions Mouse and MMouse? Other than that, it looks like a good script. Maybe next time you could make it say more messages and in random orders.

Sir R. M8gic1an

2007-10-30 04:14:30


if UseLogin= 'True' then
begin
Login;
Talk;
end else
Talk;

ever heard of if and else? :) you might wanna check those out, else is really useful.
and another suggestion, since you're going to make it talk anyway, why not do it like this?


if UseLogin = 'True' then Login;
Talk;
this means it'll talk independently from login being true or not.

elite_h4x

2007-10-30 06:19:29

thanks for the response guys keep em coming :D

runescapeautoer123

2007-11-13 07:44:01

Line 4: [Error] (4:9): Identifier expected in script doesn't work on my scar

HyperSecret

2007-11-13 09:59:36

there already is a logging in process in SRL this is a worthless thread and script sry….

jo1989

2007-11-13 11:32:06

Line 4: [Error] (4:9): Identifier expected in script doesn't work on my scar

same too