|
Ohaern Newbie
Joined: 05 Sep 2001 Posts: 8 Location: USA
|
Posted: 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. |
|
|
|
user0101 Apprentice
Joined: 01 Aug 2003 Posts: 100 Location: USA
|
Posted: 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.}}
|
|
|
|
|
|