 |
hayt007 Newbie
Joined: 04 Jun 2002 Posts: 2 Location: USA
|
Posted: Tue Jun 04, 2002 1:33 am
Newbie Questions |
Greetings. I must say that I have been impressed with both the number and quality of posts on this site, I am eager to learn from many of you experts. That said, I have a few basic questions.
1) I have read a lot of the help files and the support library. Where are some other places that I can read and learn useful macros, triggers, variables and more?
2) I have been trying to capture hpbar information that looks like this:
HP: 803/976 SP: 14/231 W: 149/713(656) L: 100% P: 3/4% A: 0 T: extreme G: 640
The important part is:
HP: 803/976 SP: 14/231 W: 149/713(656)
How can I create a trigger that will add the (XXX)'s W: XXX/713 (XXX) to get a total number YYY, then either bury the corpse if YYY is under 800 or donate corpse if it is over 800?
I hope that made sense.
3) I will leave #3 for another time, I need to learn some things on my own.
Thank you very much for your help!!!
Hayt the Utter Newbie |
|
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Jun 04, 2002 5:01 am |
quote:
1) I have read a lot of the help files and the support library. Where are some other places that I can read and learn useful macros, triggers, variables and more?
Well, for the most useful stuff you're better off asking around on sites related to your MUD--message boards, player-group message boards, the staff/other players, etc. There are at least 3 damned-to-limbo plans amongst the players of Dragon's Gate MUD to create their own websites for scripting and other client issues, for instance. You can check out the gibberish we've come up with at this site (probably not very useful to you, but we're full of ideas over there ):
http://pub13.ezboard.com/fdragonsgatefrm69
Zugg might still have the links and mirrors page up somewhere, so you might discover other bits and pieces there.
quote:
2) I have been trying to capture hpbar information that looks like this:
HP: 803/976 SP: 14/231 W: 149/713(656) L: 100% P: 3/4% A: 0 T: extreme G: 640
The important part is:
HP: 803/976 SP: 14/231 W: 149/713(656)
How can I create a trigger that will add the (XXX)'s W: XXX/713 (XXX) to get a total number YYY, then either bury the corpse if YYY is under 800 or donate corpse if it is over 800?
First, open up ZMud and click either the Connect or Offline button. When it's done loading up the character, click that big Settings button, and when that window loads up click on the Help menu and dive in. You'll specificly want to check out Triggers or Aliases and the Pattern Matching hyperlink both should have in their entries. Half the info you'll need to create this trigger will be found there.
#trigger {HP: %d/%d SP: %d/%d W: (%d)/%d~((%d)~) L: %d~% P: %d/%d~% A: %d T: %w G: %d} {#if (%eval(%1+%2) > 800) {donate corpse} {bury corpse}}
li'l shmoe of Dragon's Gate MUD |
|
|
|
 |
hayt007 Newbie
Joined: 04 Jun 2002 Posts: 2 Location: USA
|
Posted: Tue Jun 04, 2002 6:11 am |
Alas, I forgot to say that I am trying to have this trigger off of:
Character dealt the killing blow*
That way the trigger only fires after killing something, instead of every round.
THANK YOU!!!!
Hayt the Utter Newbie |
|
|
|
 |
|
|
|
|
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
|
|