Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Matt_Cooper
Newbie


Joined: 25 Oct 2002
Posts: 2
Location: New Zealand

PostPosted: 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
Reply with quote
Matt_Cooper
Newbie


Joined: 25 Oct 2002
Posts: 2
Location: New Zealand

PostPosted: Fri Oct 25, 2002 8:14 am   
 
Err, the ***** should have read pr ick not that thats really important
Reply with quote
Killfile
Novice


Joined: 30 Sep 2002
Posts: 32
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net