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
ajgator7
Newbie


Joined: 29 Dec 2001
Posts: 1

PostPosted: Sat Dec 29, 2001 10:59 pm   

Script Help
 
I need help on making a script for viewing my hp, mana, etc. on the status bar...could anyone possibly show me how or direct me to an easy tutorial (one which incorporates the graphical script representation plugin would be nice)...here's the command line I wanna have a script for...

Attributes of Krafty :-

You have :-
740 hit points (740 maximum),
290 slyness (290 maximum), and
298 social points (299 maximum).


You have 107,690 experience points.
You are a member of the Halls of Acquisition (level 207).
You have died six times, and can die once more before you can no longer be
reincarnated.
You are 3 days, 16 hours, 10 minutes and 35 seconds old.
You will not run away from fights.
You are right-handed, unburdened and rude.
Your quests have made you well known.
You are a registered player stealer.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Dec 30, 2001 2:10 am   
 
You'll need some triggers to collect the desired information and a #STATUS command to display it. Sample script:

#TR {^(%d) hit points ~((%d) maximum} {#VAR hp %1;#VAR hpmax %2
#TR {^(%d) slyness ~((%d) maximum} {#VAR sly %1;#VAR slymax %2}
#TR {^(%d) social points ~((%d) maximum} {#VAR soc %1;#VAR socmax %2}

#STATUS {HP: @hp~(@hpmax~) SLYNESS: @sly~(@slymax~) SOC PTS: @soc~(@socmax~)}


LightBulb
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