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


Joined: 21 Dec 2004
Posts: 5
Location: Hell, Michigan

PostPosted: Tue Dec 21, 2004 6:09 am   

Mud Window Status
 
I am currently looking for a set of aliases, triggers, and variables that will allow me to tell my current TNL, XP, HP, and Powerlevel (DB Based Mud)

The setup (prompt) is :
(Pl:123)
(Hp:123|Ki:123|En:123)

Score Sheet shows :
Experience: 123
Experience TNL: 123

If someone could possible help me with this, send an IM to Shriken2000 on AIM. Chances are I'm on.

Or just reply.

Thanks
-Kurt
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Tue Dec 21, 2004 1:36 pm   
 
#TRIGGER {~(PI:(%d)~)} {prompt.pi=%1}
#COND {~(Hp:(%d)~|Ki:(%d)~|En:(%d)~)} {
prompt.hp=%1
prompt.ki=%2
prompt.en=%3
} {prompt|nocr|within|param=1}
#TRIGGER {Experience: (%d)} {prompt.xp=%1}
#TRIGGER {Experience TNL:(%d)} {prompt.tnl=%1}


And for the status bar (for a status window just use #STW instead of #ST)
#ST {Pi=@prompt.pi Hp=@prompt.hp Ki=@prompt.ki En=@prompt.en Xp=@prompt.xp/@prompt.tnl}
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Tue Dec 21, 2004 4:10 pm   
 
#ALIAS report {#IF (%1 = "") {say Pi=@prompt.pi Hp=@prompt.hp Ki=@prompt.ki En=@prompt.en Xp=@prompt.xp/@prompt.tnl} {tell %1 Pi=@prompt.pi Hp=@prompt.hp Ki=@prompt.ki En=@prompt.en Xp=@prompt.xp/@prompt.tnl}}
Reply with quote
Vorax
Apprentice


Joined: 29 Jun 2001
Posts: 198
Location: USA

PostPosted: Tue Dec 21, 2004 10:14 pm   
 
I believe that's Pl (lower case L - for PowerLevel), not Pi. Change the scripts accordingly.
_________________
Implementor at House of Ghouls
Telnet to House of Ghouls
Reply with quote
Shriken
Newbie


Joined: 21 Dec 2004
Posts: 5
Location: Hell, Michigan

PostPosted: Wed Dec 22, 2004 10:02 am   
 
Quote:

#TRIGGER {~(PI:(%d)~)} {prompt.pi=%1}
#COND {~(Hp:(%d)~|Ki:(%d)~|En:(%d)~)} {
prompt.hp=%1
prompt.ki=%2
prompt.en=%3
} {prompt|nocr|within|param=1}
#TRIGGER {Experience: (%d)} {prompt.xp=%1}
#TRIGGER {Experience TNL:(%d)} {prompt.tnl=%1}


And for the status bar (for a status window just use #STW instead of #ST)
#ST {Pi=@prompt.pi Hp=@prompt.hp Ki=@prompt.ki En=@prompt.en Xp=@prompt.xp/@prompt.tnl}


Really appreciated, it worked.
Thanks to the rest of you who tried.
-Kurt
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