 |
Matt_Cooper Newbie
Joined: 25 Oct 2002 Posts: 2 Location: New Zealand
|
Posted: Fri Oct 25, 2002 8:11 am
Randoming |
Basically, what I would like to do is trigger a message like this
You prick Name twice in rapid succession with your dirk.
To choose from a list of 10 different illusion afflictions for instance
Conjure illusion Your *really* screwed now
and several more of its ilk
I'm something of a newbie with Zmud and have no idea how this is done |
|
|
 |
Matt_Cooper Newbie
Joined: 25 Oct 2002 Posts: 2 Location: New Zealand
|
Posted: Fri Oct 25, 2002 8:14 am |
Err, the ***** should have read pr ick not that thats really important
|
|
|
 |
Killfile Novice
Joined: 30 Sep 2002 Posts: 32 Location: USA
|
Posted: Fri Oct 25, 2002 11:50 am |
Sounds like what you want is something like this...
#VAR strVar "Blank"
strVar = %item(@PhraseList,%random(1,%numitems(@PhraseList))
#SAY @strVar
Where PhraseList is a stringList (a type of variable) containing all your phrases.
I'm not sure if you wanted this echoed to your screen or dumped to the mud you're on, so this echos to the screen.
--Killfile |
|
|
 |
|
|