|
gabrielphoenix Newbie
Joined: 11 Nov 2006 Posts: 4
|
Posted: 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 |
|
|
|
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: 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. |
|
|
|
gabrielphoenix Newbie
Joined: 11 Nov 2006 Posts: 4
|
Posted: 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
|
|
|
|
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: 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.
|
|
|
|
|
|