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


Joined: 17 Aug 2001
Posts: 4
Location: USA

PostPosted: Sat Sep 28, 2002 3:45 am   

status line
 
ok this is gonna probably be very newbieish but need a bit of help with status line .. i want to gag my prompt to the status line. I have 2 prompts a normal and a battle prompt the normal is.. %h/%H * %b/%B * %v/%V * %a * %A %l and the battle is...%h/%H * %b/%B * %v/%V * %c %l %N * %C .. i cant seem to the it to gag to my status line and then i want it to switch to my battle prompt when im in battle .. is there a easy way to do this i seem to be having a bit of problem. All help is greatly appreciated.

Dez
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Sep 28, 2002 5:20 am   
 
We would need your muds actual output for the 2 different prompt types inorder to help you. I can guess that h referers to hitpoints, but that doesnt tell me how your mud outputs them, it could binary, hexadecimal, octal, or even log base e notation for all I know, that would make a big difference right there. So please post copies of the actual output lines and not the command you used to set them.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Sep 28, 2002 3:53 pm   
 
I can guess that %h/%H is hitpoints, %b/%B is blood or breathpoints, %v/%V is movement points and that all of these are numbers. I can also guess that a is alignment, which might be either words or numbers. I can't even guess what %A, %l, %c, %N, and %C are. That does make it difficult to write a trigger.

#TR {^(%n)/(%d)H ~* (%n)/(%d)B ~* (%n)/(%d)V ~*} {#VAR prompt {%trigger};#GAG} {} {nocr|prompt}
#ST {@prompt}


LightBulb
Senior Member
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