|
Setepth Novice
Joined: 17 Dec 2001 Posts: 34 Location: USA
|
Posted: 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 |
|
|
|
Darker GURU
Joined: 24 Sep 2000 Posts: 1237 Location: USA
|
Posted: 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. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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. |
|
|
|
|
|