I'm trying to program the Status window, and Line, to reflect some
information for me and cannot seem to figure it out 100%.
I know how to program my window to reflect variables. I also know
how to set variable using #VAR x x. What I'm unable to do is create
a trigger that updates my status window every time A: Something dies (i.e. R.I.P goes by) B: loot a corpse.
My window currently has the following things.
Experience:
P. G. S. C
HP: MV:
Eventually I'd like to add some things, like currently wielded weapon and active spells, but I think once I understand how to get the above to work I can add new stuff myself. I'm using the free 98 and below zMud.
Perhaps my logic on this next part is not very efficent, if so please guide me. What I want to have happen is a trigger that runs the command 'score' every time something dies, or every time I loot a corpse. This much I can do. I than want it to extract my experience %, P, G, S, C and HP and Move P. from score and commit them to the proper variables.
I can't seem to figure out how to make a trigger that does this. Anyone out there use the status window for a similar setup? If you could post the triggers you use to make them update variables I would greatly appreciate it.
Thanks.
Status Window in zMud Questions
I've since gotten some things to work...
However I still cannot get zMud to capture my exp % to a var.
I looked back at other threads, perhaps some of you have not responded because old threads exists.
however, I believe the old triggers in existence are designed for Sojourn 3 when ">>>>>>" symbols were used. All the triggers I can find seem to convert those to a % using a math function.
Anyone have a working trigger for capturing exp % to a variable for Toril?
Come on, this should be an easy one.
However I still cannot get zMud to capture my exp % to a var.
I looked back at other threads, perhaps some of you have not responded because old threads exists.
however, I believe the old triggers in existence are designed for Sojourn 3 when ">>>>>>" symbols were used. All the triggers I can find seem to convert those to a % using a math function.
Anyone have a working trigger for capturing exp % to a variable for Toril?
Come on, this should be an easy one.
Taking it a step farther... a trailing var to show current and prior xp progress.
Pattern:
Value:
and on your status bar/window place the following:
Pattern:
Code: Select all
Experience Progress: (%1)~%
Value:
Code: Select all
#var exp_tmp @exp_pct
#var exp_pct %1
#if (@exp_pct=@exp_tmp) {} {
#var last_exp_pct @exp_tmp
#SAY NOTCH: XP!
}
and on your status bar/window place the following:
Code: Select all
Exp: @exp_pct% Last: @last_exp_pct%
Botef wrote:Thanks, the first reply alone was enough to get things rolling.
Now my status window shows My XP, HP, Move points, Position (i.e. sitting, standing, etc)
All my active spells (Invis, Lev, Armor, etc)
My plats and the time of day (Day or night)
Now what about words? How do I capture those?
Depends on what words you are attempting to capture.
%w will pickup a single word... elaborate?
!!x
Danahg tells you 'yeah, luckily i kept most of it in my mouth and nasal membranes, ugh'
Dlur group-says 'I have a dead horse that I'm dragging down the shaft with my 4 corpses. Anyone want to help me beat it?'
Calladuran: There are other games to play if you want to play with yourself.
Dlur group-says 'I have a dead horse that I'm dragging down the shaft with my 4 corpses. Anyone want to help me beat it?'
Calladuran: There are other games to play if you want to play with yourself.
Who is online
Users browsing this forum: No registered users and 18 guests