SRL Archive - First Scripts

[SRL][Divi]Crossback7's Autotalker V1


crossback7

2007-06-20 12:31:58

CrossBack7's Autotyper V1.2



-Alright, here's my first script. I was reluctant to release it as there are already so many, but my friend wanted to try it, so I decided to go ahead and release it.

-It has a simple form and can include up to four messages.

-Please post any problems, as well as suggestions. Now includes an option for choosing your own wait time as well as an option for automatically accepting trades. And a proggy. So POST SOME PLEASE!!! Enjoy! :sasmokin:


Updates


V1.1 - Now Hold Down F10 to Stop Script.
V1.2 - Now Has an Option For Selecting Your Own Wait Time and an Option for Automatically Accepting Trades. And a proggy. So POST SOME PLEASE!!

-I doubt I'll make any more updates to this. Maybe make it into a merchanter later? Does anyone think that making this into a merchanter that walks back and forth inbetween the two Varrock banks will get me membership?

ZephyrsFury

2007-06-22 05:07:28

begin
TypeSend(Message1);
Wait(2000 + random(500));
TypeSend(Message2);
Wait(2000 + random(500));
TypeSend(Message3);
Wait(2000 + random(500));
TypeSend(Message4);
Wait(2000 + random(500));
end;

begin
SetupSRL;
ActivateClient;
SafeInitForm;
SafeShowFormModal;
DefineTalk;
repeat
Speak
until(IsFKeyDown(10)) //Hold down the F10 key to stop the script.
end.

lol you dont have to indent after each line. just after 'begin', 'repeat', 'if', etc. other than that its a good first script especially with the forms and stuff. you should also allow people to choose colours, styles, etc.

this is my autotalker if you want to have a look at it:
http://www.villavu.com/forum/showthread.php?t=11097

crossback7

2007-06-22 16:01:11

Ha yes, I've seen yours. People can just write it in. It just seems like it's just extra work. I am changing it a bit so people can choose the wait time and if they'd like it to automatically accept trades.

I just think that indenting it makes it a bit easier to follow :p

ZephyrsFury

2007-06-22 23:17:39

lol indenting does make it easier to follow just your indenting makes your script look like stairs. ;)

crossback7

2007-06-24 13:38:31

That may very well be true. . .

The script now includes the options to pick your own wait time and an option that can automatically accept trades! As well as a proggy, so uh. . .post them :)

ZephyrsFury

2007-06-25 06:52:47

you're getting pretty good at this with your forms and stuff. :D

just a question though… did you want the proggie to be displayed just at the end after F10 is presses or did you want it to be displayed every now and again. at the moment it is only displayed after F10 is pressed.

other than that, the script seems good. ill test it for a bit once i finish my homework.

crossback7

2007-06-25 16:23:53

I just wanted it at the end because otherwise it's after like every four messages and that just gets annoying. And thanks for the compliment.

ZephyrsFury

2007-06-26 04:28:54

You could MarkTime at the begin of of the repeat loop, then make it display the proggie every couple of minutes or something.

Like this:

MarkTime(Time);
repeat
if (TimeFromMark(Time) = 180000+-30000) then //if the time from the last mark is 3 mins +- 30 secs, it will display proggy.
begin
Proggy;
Time:=0;
MarkTime(Time); // restarts timer.
end;
AutoTrader;
Speak;
until(IsFKeyDown(10)) // Hold Down F10 to Stop the Script

crossback7

2007-06-26 12:01:25

Ah I just don't care that much lol. Just as well to have just one at the end, as if anyone posts one (which they most likely won't) it will be the last one if I made it display it several times.

ZephyrsFury

2007-06-27 05:56:33

lol fair enough, that chicken killer should be quite popular though. :D

crossback7

2007-06-27 17:21:12

I couldn't find a good one that I could get to work for long periods of time! This one uses a bit different way to find the chickens. Well. . .an unusual color at least.