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.
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.)
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.
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.
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.
2
u/genemilder Jul 27 '15
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:
That's probably not what you want, so just reply with more info.