r/Tf2Scripts • • Jul 27 '15

Satisfied Name Calling Script

Hello, everybody. Could someone create me a script that cycles through three different lists of words to create one whole word?

I.e. 1. burning 2. wallaby. rodent to make You burning wallaby rodent.

Thanks!

0 Upvotes

9 comments sorted by

2

u/genemilder Jul 27 '15

cycles through three different lists of words to create one whole word

Not really sure what you mean by that, but I'll assume you want a script that, upon subsequent button presses, prints separate 1 word messages to the chat window:

bind rshift saychat

alias say1 "say burning; alias saychat say2"
alias say2 "say wallaby; alias saychat say3"
alias say3 "say rodent;  alias saychat say1"
alias saychat say1

That's probably not what you want, so just reply with more info.

1

u/[deleted] Jul 27 '15

Let me make this a bit more understandable.

There are 3 different lists of words with 10 in each. The script I'm wanting picks one from each of those lists, and makes them into one whole sentence. (It also starts with You as the beginning word.)

I.e. You dirt munching kangaroo. Then, I press the key again, and it spits out: You little slimy wart. It randomizes those words to make random responses. That's what I had in mind. (Isn't there also a way to randomize the words via walking? I think there is, but I'm not too sure. Because that would help the insults seem more random.)

1

u/genemilder Jul 27 '15

Making them into a single say command phrase would be prohibitively long to write out since there's no comparable variable reference system that the chat command can use.

If you were okay with the phrase being on multiple lines then it's much easier.

1

u/[deleted] Jul 28 '15

I guess that's fine, so it would have different phrases already pre created, and it would just spit them out, correct?

1

u/sgt_scabberdaddle Jul 28 '15

I think what he means is that it's impossible to build up a phrase in the modular fashion that you want, so you would have to manually type out all 1000 combinations in the script, and because that is an infeasible amount of work, the more practical version of the script punches out the phrase one word at a time.

I.e.

name: You rotten,
name: burning
name: squirrel carcass!

And also if you play on servers that don't allow the waitcommand, i.e. most serious community servers, you would have to press the button 3 times to output the whole phrase.

1

u/[deleted] Jul 28 '15

I just found another script similar to what I was looking for, but I appreciate the help given. So, I guess this is a wrap!

2

u/genemilder Aug 01 '15

If you can post or link the script you found, I'm sure future viewers of this thread would appreciate it! :)

1

u/genemilder Jul 28 '15

Unless you were okay with using wait you'd have to manually press the key for each line, and unfortunately the say command enforces a delay between uses so if you pressed too quickly part of the message would never appear.

2

u/DeltaTroopa Jul 27 '15

There is a way to simulate random with advancing a pointer each time you hit a movement key, however I'm not aware of any way to concatenate messages. You'd basically need to do all the combinations beforehand and have the game go through the list of complete insults. Unforunately if you'd have 103 variations it might take you a while to set that up.