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
Setepth
Novice


Joined: 17 Dec 2001
Posts: 34
Location: USA

PostPosted: Tue Jan 01, 2002 9:30 pm   

Question with the hp bar
 
Ok, usually we don't have a little bar that tells us our health unless we of course type in "score" or "status". However, is it possible to have zmud send that command "score" or "status" and hide the information from me and than add it to the hp bar let's say ever 15-30 secs? (I don't want to see it inserting the text either). i know that sounds a little difficult but i found a way to do it but i am also having a little trouble having MYSELF see the status and score bar:) it ends up taking it away from me too. Let me know if you all can help!

Hey meet my character:
Prince Basher, Of Que-Hagan.

At http://www.hakarren.mudservices.com port:7777
Reply with quote
Darker
GURU


Joined: 24 Sep 2000
Posts: 1237
Location: USA

PostPosted: Wed Jan 02, 2002 1:57 pm   
 
It's possible, but we'd have to see the output of the score and status commands.



zMUD 6 Online Help: All the power you'll ever need.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Jan 02, 2002 11:43 pm   
 
Since you say you already have it setup it will be quite easy. Move your existing triggers to capture it into a single class say named "ScoreCapture". Then add an alias someplace else with your favorite abrieviation for score. In it should be the following commands.
#T- ScoreCapture
score
#ALARM {+2} {#T+ ScoreCapture}

You will also want to have an alias in ScoreCapture of the following sort:
Name: GetScoreForHPBar
Script:
#ALARM {+15} {GetScoreForHPBar}
score

Two other things I would recommend is set the scorecapture class to disable at connect and add the following line to the trigger that sends your password.
#ALARM {+5} {#T+ ScoreCapture;GetScoreForHPBar}

A poorly timed disconnect shouldn't disrupt the alarms, but having a leftover alarm firing right after connect would be bad.
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