SRL Archive - First Scripts

very simple auto talker (lend gs)


deathcrow92

2008-09-21 22:14:10

this auto talker will simply say "lending out godsword!" for you.

program script;
{.Include srl/srl.Scar}
const
Message1='lending out godsword!';

procedure lending;
begin
wait(4000+random(1000));
TypeSend(Message1);
end;


begin
ActivateClient;
SetupSRL;
repeat
lending;
until(false)
end.

To say what godsword you are lending out put "armadyl, bandos, zamorak, or saradomin" before it says "godsword" on line 4.

Also, you can make it say anything you want. Just put what you want it to say between the ' and '

Tniffoc

2008-09-21 23:00:48

Looks good. Only two things wrong.
1. You need to put two spaces before Message1 = 'blah blah';
2. You should put SetupSRL; like this

ActivateClient;
SetupSRL;
//Rest of script

deathcrow92

2008-09-22 16:44:39

k, thanks for the feed back.