SRL Archive - First Scripts

Simple Auto-talker


Richard

2008-01-02 16:08:40

When I first came to SRL I though I would just wait the week to get some of the good scripts, but then I decided "no-one likes a leecher" so I made this script.

Its not exactly the best in the world but its the best I could do.

Please post any errors that you have here and whether you think its good or not.

All suggesions welcome!

Thanks

Bombo

2008-01-02 16:15:17

I'll check it out dude =) I'm a n00b at SCAR too, but I'm learning.

EDIT: Suggestions: Instead of having that wait 5 seconds in your begin statement, I'd use an ActivateClient procedure.

Ln 25: wait(5000)//The amount of time you have to switch windows before it starts

*change that to ActivateClient;

So it'd look like this:

procedure WriteMessage;
begin
TypeSend(Message1);
wait(3000+random(500));//The time between the messages
TypeSend(Message1);
wait(3000+random(500));//The time between the messages
TypeSend(Message1);
wait(3000+random(500));//The time between the messages
TypeSend(Message1);
wait(3000+random(500));//The time between the messages
TypeSend(Message1);
wait(3000+random(500));//The time between the messages
TypeSend(Message1);
wait(3000+random(500));//The time between the messages
TypeSend(Message1);
wait(3000+random(500));//The time between the messages
TypeSend(Message1);
wait(3000+random(500));//The time between the messages
TypeSend(Message1);
wait(3000+random(500));//The time between the messages
TypeSend(Message1);
wait(3000+random(500));//The time between the messages;
TypeSend(Message1)

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

Richard

2008-01-02 16:18:15

From: Bombo
I'll check it out dude =) I'm a n00b at SCAR too, but I'm learning.



Thank :D

I can't really do much and it's all I can really do lol

I'm working on doing something lmore complicated soon

Bombo

2008-01-02 16:43:26

I feel you dude, right now I'm creating a power mining script in SCAR and a power everything in VB.

Richard

2008-01-02 16:55:30

Thanks for your help.

I've just finished making another one in which you can have up to 4 messages.

Thanks again.

monkeyskater1993

2008-01-02 17:38:54

hmm it seems for me when i try to use it takes me to a diff page, prolly something of my fault tho, other wise looks like a very nice script:)

Richard

2008-01-03 10:27:50

From: monkeyskater1993
hmm it seems for me when i try to use it takes me to a diff page, prolly something of my fault tho, other wise looks like a very nice script:)


Thanks for saying it a nice script :D

I think if it takes you to a different page it mean you haven't dragged the crosshair onto the runescape client, when you do this it then should work, if it doesn't I'll try and help

Rubycore

2008-01-05 23:17:22

Good first script man.
I ran it for 5 repeats of all messages and all went smoothly.
Well done.