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
Ohaern
Newbie


Joined: 05 Sep 2001
Posts: 8
Location: USA

PostPosted: Sat Sep 13, 2003 9:10 pm   

trigger with random response - help needed
 
[:I]
Okay, I have been using zMud for years but have no idea how to do more than the real basics. What I want to do is make a trigger that when the pattern matches, will respond with a random answer. I will want to provide the optional answers.

ie.
^Your weapon glows brightly and decapitates %1

answers could be something like:
clan :politely decapitates %1 In honor of Touchstone.
clan :decapitates %1 and spits on the severed head.
clan :%1 lost its head.

I have no idea how to do this. Please and thanks for any help. Smile
Reply with quote
user0101
Apprentice


Joined: 01 Aug 2003
Posts: 100
Location: USA

PostPosted: Sat Sep 13, 2003 10:19 pm   
 
#TRIGGER {^Your weapon glows brightly and decapitates (*)} {#case %random {clan ~:polites decapitates %1 In honor of Touchstone.} {clan ~:decapitates %1 and spits on the severed head.} {clan ~:%1 lost its head.}}
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