Author |
Message |
Topic: Capturing my HP SP and MP into variables |
deggenbe
Replies: 9
Views: 5487
|
Forum: zMUD General Discussion Posted: Thu Jan 13, 2005 7:46 pm Subject: Capturing my HP SP and MP into variables |
WOOT, thanks, works like a charm.
#tr XP Needed: (%n)
#var expneed %1;#math explevel (@expneed+@exp)
works perfect commas or not, :) thanks alot. |
Topic: Capturing my HP SP and MP into variables |
deggenbe
Replies: 9
Views: 5487
|
Forum: zMUD General Discussion Posted: Thu Jan 13, 2005 3:13 am Subject: Capturing my HP SP and MP into variables |
OK
all that is working now, and thanks for the tip.
I have another question though.
I use a trigger to capture this number, here is the line as it comes fromt he mud
You have 847,853 experie ... |
Topic: Capturing my HP SP and MP into variables |
deggenbe
Replies: 9
Views: 5487
|
Forum: zMUD General Discussion Posted: Wed Jan 12, 2005 5:23 am Subject: Capturing my HP SP and MP into variables |
ahh thanks, i bet that is it, i'll try it now.
guess i just wasn't in the right state of mind when i was first trying it. |
Topic: Capturing my HP SP and MP into variables |
deggenbe
Replies: 9
Views: 5487
|
Forum: zMUD General Discussion Posted: Tue Jan 11, 2005 8:15 pm Subject: Capturing my HP SP and MP into variables |
p.s. if I enter a raw number in the third column of the guage, it does work, just the MATH part doesn't seem to.
The color never changes using /20 |
Topic: Capturing my HP SP and MP into variables |
deggenbe
Replies: 9
Views: 5487
|
Forum: zMUD General Discussion Posted: Tue Jan 11, 2005 8:15 pm Subject: Capturing my HP SP and MP into variables |
Though, I could not get the third part of the gauges to work properly
(@hpmax/20) or (@spmax/20) or (@mpmax/20)
i.e...
#gauge HPINFO "HPINFO" (@hp) (@hpmax) (@hpmax/20)
would just never seem to ... |
Topic: Capturing my HP SP and MP into variables |
deggenbe
Replies: 9
Views: 5487
|
Forum: zMUD General Discussion Posted: Tue Jan 11, 2005 8:07 pm Subject: Capturing my HP SP and MP into variables |
Figures i'd work it out sooner or later.
#TR {HP: (%d)/(%d) | SP: (%d)/(%d) | MP: (%d)/(%d)}
#VAR hp %1
#VAR hpmax %2
#VAR sp %3
#VAR spmax %4
#VAR mp %5
#VAR mpmax %6
#gauge HPINFO "HPINF ... |
Topic: Capturing my HP SP and MP into variables |
deggenbe
Replies: 9
Views: 5487
|
Forum: zMUD General Discussion Posted: Tue Jan 11, 2005 6:35 pm Subject: Capturing my HP SP and MP into variables |
Well, i think i got the variable part to work...
I changed the #TR to this
#TR {HP: (%d)/(%d) | SP: (%d)/(%d) | MP: (%d)/(%d)};#VAR hp %1;#VAR hpmax %2;#VAR sp %3;#VAR spmax %4;#VAR mp %5;#VAR m ... |
Topic: Capturing my HP SP and MP into variables |
deggenbe
Replies: 9
Views: 5487
|
Forum: zMUD General Discussion Posted: Tue Jan 11, 2005 6:22 pm Subject: Capturing my HP SP and MP into variables |
I've read several pther posts to give me some idea on how this could be done. After spending almost tha last 36 hours trying to get it to work, i'm giving up trying to figure it out myself.
I want ... |
|