Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Talex
Newbie


Joined: 26 Jul 2010
Posts: 1

PostPosted: Sat Jan 11, 2014 5:24 am   

Capturing info to status window of multiple, same patterns
 
What I have is a skill that grants you temporary hps for 2 mins, then you lose the gained hps, and you can use the skill repeatedly to gain temporary hps. I'm trying to create a trigger that will display the duration left and the amount of hps gained when using the skill in the status window.

So it might look something like this for EACH time I use the skill:
Anger: hps duration

Here is an example of what the mud will send when you use the skill and when it wears off, respectively:

The pain of your injuries seems to vanish as you focus your anger.
hp: 384/384 (+35)

You feel the pain come back to you as the last of your anger leaves you.
hp: 349/384 (-35)

I've never used the status window before and am excited to use it, but having trouble capturing the relevant information and creating multiple lists instead of just refreshing a variable and displaying that single variable. Any help would be greatly appreciated.

Thanks in advance,
Talex
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Sat Jan 11, 2014 5:39 am   
 
you can display more than one variable on the same status object
%cr should insert a carriage return
use %format to force spacing to look how you want if you are going for a table
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net