Random string

Posted by Cuprohastes on Sun 27 Jul 2003 05:07 PM — 4 posts, 17,836 views.

#0
I have no idea how to write scripts, but I have a cunning plaaan...
I'm really lazy, and I'd like to have a script I can call that that calls a random number from 0 to X, that will call a string e.g.

:waves to %1
:nods to %1
:says "Hi!" to %1
:notices %1 and says "Hi"

etc...
Australia Forum Administrator #1
See the "random socials" plugin on the plugins page:


http://www.gammon.com.au/mushclient/plugins/


That pretty-well does what you are describing.
#2
I tried that first of all... the MUCK I'm using it with doesn't have a socials command? However I'll peer at the code see if I can reverse engineer it and take over the world
Australia Forum Administrator #3
In that case, remove the bit that does the socials command, and then manually add the various ones into your variables (see the plugin for the name you want), or modify it slightly to allow you to add them via an alis.