Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
gabrielphoenix
Newbie


Joined: 11 Nov 2006
Posts: 4

PostPosted: Wed Jan 21, 2009 9:20 am   

#setprompt
 
I got a Question

HP:161(161) MP:194(194) SP:164(164) EXP:8553546
TANK:? MON:?


This is my mud prompt from the mud i play called Deeper Trouble

But setprompt keep doing so my first variable called hp is 161(161 and the next variable maxhp is )

How do I make it work so both variables are just 161

Kind Regards Phoenix
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Wed Jan 21, 2009 10:34 am   
 
#setprompt "HP:" hp maxhp mp maxmp sp maxsp exp

I think. Or you could switch over to using a normal trigger, sure it's slower but it's not that slow.
Reply with quote
gabrielphoenix
Newbie


Joined: 11 Nov 2006
Posts: 4

PostPosted: Wed Jan 21, 2009 11:30 am   
 
That dont work that is what i was trying to say. for some reason cmud can not seperate the ( from the numbers so it just add 161(161 to the variable hp and only ) to the variable maxhp
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Wed Jan 21, 2009 11:35 am   
 
In that case you need to switch to using a normal trigger. Shouldn't be too hard, in either ZMud-style patterns or regex, whichever you prefer.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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