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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
legpros
Newbie


Joined: 01 Mar 2003
Posts: 4

PostPosted: Sat Mar 01, 2003 7:41 am   

status bar
 
Im just missing something .. Ive read all the help files and have searched but its not working.
I need to put my tanks stats on my clerics status line
840hp 50mana 414mv
can anyone run me through this step by step?
Pls dont assume I know anything.
thanx
Reply with quote
Troubadour
GURU


Joined: 14 Oct 2000
Posts: 556
Location: USA

PostPosted: Sat Mar 01, 2003 8:35 am   
 
I'm guessing that what you've given us for your tank's information will look exactly like what YOUR prompt will look like. So if there's any other text associated with the tank info please post it.

That said, first thing you have to do is write a trigger to collect the tank's info and stick it into some variables. At the command prompt you can type:

#TR {(%d)hp (%d)mana (%d)mv} {#VAR tankhp %1;#VAR tankmana %2; #VAR tankmv %3}

Next to set up the status bar type:
#STATUS {Tank: @tankhp hp @tankmana mana @tankmv mv}

Troubadour
(Win 98, Pentium III, 550 MHz)
Reply with quote
legpros
Newbie


Joined: 01 Mar 2003
Posts: 4

PostPosted: Sat Mar 01, 2003 8:37 pm   
 
Thanx! I was missing something small, also I discovered I needed global variables.
Its working great now!
Thanx again for your help!
Reply with quote
legpros
Newbie


Joined: 01 Mar 2003
Posts: 4

PostPosted: Sat Mar 01, 2003 8:39 pm   
 
Thanx! I was missing something small, also I discovered I needed global variables.
Its working great now!
Thanx again for your help!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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