SRL Archive - RS3 Outdated / Broken Scripts

Logik's Auto Talker V 0.1 BETA


logik

2007-03-15 19:54:40

Logik's Auto Talker V 0.1


  • Able to have two messages at a time
  • Can change speed/time before next message typed


Okay this is my first script ever please no flaming,Any questions, comments, tips, ideas, please post. Its pretty simple to use, just type you message where is says "'Delete this and type your message here!!!'", and if you want only one message type the same message that is in the Message1=''; area in Message2=''; You can also change the amount of time before each message is sent and they can also be different (lines 36 and 38).


If I am going to have an update I will make it have:
  • more lines so you can type more messages
  • also so you don't have to type the message twice
  • and maybe ever so it has its own window instead of using the SCAR coding screen.

NOW AUTO TALKER VERSION 0.2 OUT!!!

  • Now it automatically accepts trades
  • Must have public chat on hide or off
  • Give credit to JAD too!!

logik

2007-03-15 20:00:03

Ok I'm very sorry before, but now I have the right file and I fixed it.

the scar noob

2007-03-16 07:16:39

Probably your first script, so keep it up!!
Maybe try to setup how many seconds between messages (player can choose the time to wait)??

logik

2007-03-16 11:06:58

Thanks for your positive report :D but you can set up time in between messages

3Garrett3

2007-03-16 11:18:41

Maybe add wait+random so they arnt 3 seconds exactly apart every time?

logik

2007-03-16 16:58:43

yeah ok sure, but you can change it your self :P but sure I will do that, but any other ideas?

JAD

2007-03-16 17:13:41

well, you have: wait(3000); //Amt of time before next message typed in milliseconds
you shouldn't do that because you are making this pretty much for a user you do not know how good they are with scar, and they might not know anything about that. in the constants I'd put waittime=1000; //set wait time here.
wait((waittime)+random(200));
because that waits as long as the user puts into the constants, plus a random 200. and if you made it accept trades that would be something you could try.

logik

2007-03-16 18:02:14

Ok sure I will try to do that because I just started scripting yesterday :) but yea expect version 0.2 coming out soon due to new ideas :D

the scar noob

2007-03-16 18:22:24

make one like i did, one that opens a trade and/or plays a sound when a trade is found…
EDIT: the thing JAD said is what i ment before…

logik

2007-03-16 18:49:46

Okay but I am going to need help :(

logik

2007-03-16 19:08:13

Sorry for double post but now version 2 is out :D

JAD

2007-03-16 19:49:27

From: the scar noob
make one like i did, one that opens a trade and/or plays a sound when a trade is found…
EDIT: the thing JAD said is what i ment before…


@scar noob wasn't trying to steal what you said :p just correcting what he did from your idea.

I'll take a look at the script though, and instead of double posting you could just click the edit button and put V2 is out! :p

Edit: OK heres the problem, you can not have more then 1 main loop as you do. so you can not have
begin
talk
end.

begin
trade
end.

like that, everything after the first "end." gets ignored. so heres the fixed version:

{///////////////////////////////////////////////////////////////////////////////
/ My first scrip Logik's Auto Talker V 0.2 (Most credit goes to JAD) /
/ Any questions, comments, tips, ideas, please post. /
/ Type your message where is says 'Delete this and type your message here!!!' /
/ To use the chat effects type them in the same area where you type your message/
/ but type one of the chat effects before/infront of your message. /
/ Here are some chat effects: /
/ Color Chat Effects: /
/ glow1: then type ur message SETUP LINE 30-31 AND CHANGE /
/ glow2: then type ur message LINE 36-38 FOR SPEED /
/ flash1: then type ur message READ PARAGRAPH FOR MORE INFO /
/ flash2: then type ur message YOU CAN HAVE 2 MESSAGES /
/ flash3: then type ur message IF YOU ONLY WANT ONE MESSAGE /
/ red: then type ur message TYPE THE SAME MESSAGE IN BOTH /
/ green: then type ur message AREAS (LINES 30-31) WHERE IT SAYS /
/ cyan: then type ur message 'DELETE THIS AND TYPE YOU MESSAGE /
/ white: then type ur message HERE!!!' /
/ Moving Chat Effects: /
/ shake: then type ur message ALSO MUST HAVE PUBLIC CHAT ON HIDE /
/ wave: then type ur message OR OFF!!!!!!! /
/ scroll: then type ur message /
/ slide: then type ur message /
/And you can combine chat effects, but you have to first /
/type a moving chat effect then type a color effect. /
/For example: wave:glow1: "message here" /
///////////////////////////////////////////////////////////////////////////////}

program script;
{.include SRL/SRL.scar}

{-----Setup-----} {REMEMBER TURN PUBLIC CHAT ON HIDE OR OFF}
const
Message1='';
Message2='';
waittime=1000; //set wait time here.
DoTrades=true; // thanks to JAD :P
{-----End of Setup-----}

procedure talk;
begin
Writeln('{~~~~~~~~~~~~~~~~~~~~LOGIKS AUTO TALKER VERSION 0.2~~~~~~~~~~~~~~~~~~~~');
Writeln('++++++++++++++++++++GIVE CREDIT TO JAD FOR HELPING!++++++++++++++++++++');
wait((waittime)+random(200)); //Amt of time before next message typed in milliseconds
TypeSend(Message1);
wait((waittime)+random(200));
TypeSend(Message2);
end;
{PROCEDURE TRADE ALL THANKS TO JAD}

procedure Trade;
begin
if(DoTrades=false)then
Exit;
if(FindColorSpiralTolerance(variable,color,coords,coords,coords,coords))then
begin
Mouse(variable,0,0,true);
TerminateScript;
end;
begin
repeat
trade;
talk;
until(false)
end.
just look at how I changed it. and you need to put in your own variables example x,y and color and coordinates. before you release a script you should make sure it compiles :p

logik

2007-03-16 19:59:21

:eek: lol what a noob I are

HanTu

2007-03-22 06:02:11

Sweet autotalker. Very useful for merchant. I like especially when it auto accepts.

Some improvement though. Human errors! Otherwise I'll be banned haha.

Keep up!