|
Feramors Newbie
Joined: 19 Sep 2002 Posts: 8 Location: St. Louis
|
Posted: Wed Aug 06, 2003 5:31 pm
Help with Trigger which shows gains. |
In the MUD that I play, called Greystone, this message is shown once you attain enough EXP to raise in leve:
You raise a level!! Your gain is: 17/15634 hp, 20/13958 m, 10/24145 mv 7/15 prac.
What I'd like to do is have a messaeg displayed to my group of what my gains were when I leveled up. I have absolutely NO idea how to do anything with Zmud using Variables and the such. Any help would be appreciated. Thanks. |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Wed Aug 06, 2003 5:36 pm |
#TRIGGER {^You raise a level!! You gain is:} {gtell %trigger}
A simple way is to match the line that has the gain information and then you 'gtell' it. |
|
|
|
Feramors Newbie
Joined: 19 Sep 2002 Posts: 8 Location: St. Louis
|
Posted: Wed Aug 06, 2003 6:06 pm |
Oh, ok! How on earth do I do that? Sorry, I am a COMPLETE novice when it comes to this stuff. I browsed through the Zmud help files a bit, but couldn't find anything helpful. Any idea where some good examples are? Thanks again.
|
|
|
|
Troubadour GURU
Joined: 14 Oct 2000 Posts: 556 Location: USA
|
Posted: Wed Aug 06, 2003 6:13 pm |
TonDiening gave you the actual trigger you need in the first line of his post. Just paste it to the command line and you're set. (%trigger is a predefined variable which returns the line which set off the trigger.)
|
|
|
|
Feramors Newbie
Joined: 19 Sep 2002 Posts: 8 Location: St. Louis
|
Posted: Wed Aug 06, 2003 6:41 pm |
Heh, oh, ok. Thanks again. It's greatly appreciated.
|
|
|
|
|
|