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


Joined: 07 Sep 2005
Posts: 2

PostPosted: Wed Sep 07, 2005 12:44 pm   

Status Bar
 
i am trying to get a status bar to show the stats for my character when i am playing mud can anyone help when "qs" is typed in

qs
Richtea the protector
eff str 52 eff dex 60 sta 68/68 pts 281 gam 14

is displayed and i would like this information to be displayed.

Thanks ROB
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed Sep 07, 2005 10:00 pm   
 
Code:

#CLASS Status
#TRIGGER {^eff str (%d) eff dex (%d) sta (%d)/(%d) pts (%d) gam (%d)} {eff_str = %1;eff_dex = %2;eff_sta1 = %3;eff_sta2 = %4;pts = %5;gam = %6}
#VAR eff_str {} {0}
#VAR eff_dex {} {0}
#VAR eff_sta1 {} {0}
#VAR eff_sta2 {} {0}
#VAR gam {} {0}
#VAR pts {} {0}
#CLASS 0
#STATUS {eff str @eff_str eff dex @eff_dex sta @eff_sta1/@eff_sta2 pts @pts gam @gam}


try that. just paste at command line and issue qs command
Reply with quote
r23rob
Newbie


Joined: 07 Sep 2005
Posts: 2

PostPosted: Thu Sep 08, 2005 10:49 pm   
 
Thank unfortunaltly the code doesnt work i have tired setting this up my self and wounder if it due to the fact that it displays the character name first

Richtea the protector
eff str 52 eff dex 60 sta 68/68 pts 281 gam 18

as if i just tried setting up trigger to start with for the eff str....... with no joy but a trigger for Richtea the protector works.

thank you for trying anyway
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Fri Sep 09, 2005 12:29 pm   
 
The above code should work. If not, then try removing the "^" in front of "eff str" in the code. If you are still having problems with that, then what you can try doing is copying the above code, pasting it into a notepad window, saving it, then importing it into zMUD using Seettings -> Import -> Script(ASCII)...

Good luck.

Charneus
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