SRL Archive - First Scripts

Simple Auto Talker


Harbinger

2009-01-05 20:24:17

Well after nearly an entire day's worth of work, I can finally say that My auto talker is complete, and ready for the most part. There is still a few things that could be added, but it does work, and I have tested it a few times and it seems to work fairly well.

Tell me what you guys think ;)

[ATTACH]15969[/ATTACH]

Blumblebee

2009-01-06 00:24:19

look alright, coding could be condensed easily, and maybe try using arrays instead of const and instead of haveing like 6 procedures for typing, it could be condensed into one. Also, maybe add a user editable wait time inbetween each chat that has been said. If you woud like an example of any of my suggestions let me know and i can show you what i mean.

with that said its a good first script, and congrads on writing it :D

NCDS

2009-01-06 00:31:10

Not a bad way to start at all, pretty much stick to what Blumblebee said, he knows what hes doing ;) and if he isnt around to help you then feel free to ask me aswell!

Harbinger

2009-01-06 00:33:13

I would actually like to see how you could add the wait time in between, since I have just the basic wait(x+random(x)) code, plugged into each of the procedures. Also, since I am kinda new, I'd like to know about the arrays that you say can be used instead of const if you don't mind me asking :D

Sandstorm

2009-01-06 00:35:03

Wait(NameOfConstant + Random(Numbaaaa));

Then make a constant.

NCDS

2009-01-06 00:36:58

From: Harbinger
I would actually like to see how you could add the wait time in between, since I have just the basic wait(x+random(x)) code, plugged into each of the procedures.


Im not entirely sure what you mean by that, but another more random way to do it can be:
 Wait(RandomRange( x, x));

and another way to make your talking more random:
 TypeSend(AddMistakes('TEXT HERE'));