Awesome script
#6
eftertanke, just a code snippet to help you along with random messages

if (= (rnd 1) 1) [say "Choice one if random number generated is 1"] [say "Choice two if random number generated is not 1"]

While this works for two messages, a better solution is required if more random choices are needed. Every time the if (...) is checked, a new random number is generated. I'm too tired now, but you should make aliases with the messages with a format like msg1 msg2 msg3 etc. and use rnd with concatword to put the alias name and the number together.

say (concatword "msg" (rnd 5))
Thanks given by:


Messages In This Thread
Awesome script - by |AMP|Neon - 19 Jan 11, 03:58AM
RE: Awesome script - by V-Man - 19 Jan 11, 04:06AM
RE: Awesome script - by Bukz - 19 Jan 11, 04:07AM
RE: Awesome script - by eftertanke - 19 Jan 11, 04:18AM
RE: Awesome script - by V-Man - 19 Jan 11, 04:13AM
RE: Awesome script - by Gibstick - 19 Jan 11, 04:24AM
RE: Awesome script - by V-Man - 19 Jan 11, 04:28AM
RE: Awesome script - by eftertanke - 19 Jan 11, 04:34AM
RE: Awesome script - by SKB - 19 Jan 11, 12:56PM
RE: Awesome script - by MykeGregory - 19 Jan 11, 01:01PM
RE: Awesome script - by V-Man - 19 Jan 11, 03:34PM
RE: Awesome script - by MykeGregory - 19 Jan 11, 04:31PM