Gryllomat's Eq Damage Triggers with Zmud
To set this up you'll need to use a trigger, an alias, two variables, and the status line. Any client that lets you do these things will do but these commands are for Zmud. Note that you can change the variable names and aliases to whatever you want.
Trigger
-------
Pattern: (%1) gets damaged
Commands: #math EQnum (@EQnum + 1)
#math EQnam (@EQnam %1)
Comment: Increase damage counter and save name of damaged EQ
Options: Pattern, Newline, Trigger-on-Trigger
Alias
-----
Name: repd
Commands: #var EQnum 0
#var EQnam ""
Comment: Use this to reset the counter to zero after you repair all
Variables
---------
Name: EQnam
Value: (leave blank)
Default: (leave blank)
Comment: Damaged EQ names are stored in this string
Name: EQnum
Value: (leave blank)
Default: (leave blank)
Comment: Number of items damaged
Status Line
----------
The input window is the white window where you type commands in Zmud.
Above that is a grey status line. If it's not turned on, right-click
above the input window. You should see a small menu with the options
"Edit Menu" and "Window Options ->" Select Window Options and click "Show Status Bar".
The fastest way to define items for the status line is to type in the input window. (Make sure you don't have a red X over the little computer on the bottom right of your screen. If you click it and it has a red X, then Zmud won't interpret the special characters in the input window. Click again to turn it back on. Ditto for the little gun, which disables/enables all triggers.)
So, type this:
#ST {EQ @EQnum}
Another way is to right-click on the status line and click on "Define Status Bar".
Status Line: EQ @EQnum
Window: @EQnam
Comment: Display variable EQnum on the status line
The Status Line part is what will show up on your status line. The Window part is what will show up in something called the status window. (Go to the main Zmud menu to turn that on. I never use it.) The stuff in the Window part isn't necessary if you don't use the
status window. What you'll use most is the status line.
And you're done. Type "repd" (or whatever alias you decided to use) and you should get EQ 0 show up on your status line. To test it, type "say Jockey Shorts gets damaged" and you should see EQ 1. Now go repair (if you think any of your eq is damaged) and repd again.
If you want a quick way to see the items damaged, type: #show @eqnam
The trigger could probably be improved but I know this works. Help other players when you can; we're all people behind the screens.
|