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


Joined: 18 Feb 2004
Posts: 2

PostPosted: Wed Feb 18, 2004 4:40 am   

Comma delimiting in numbers
 
OK i realize the following code will add commas to the variable number:

%format("&0.0n", @number)

But what I would like to do is delimit all mud output as it displays and the best i can figure out is

#trigger {*%d*}{#sub %format("&0.0n", %d)}

Is this even possible?
Reply with quote
Raiden
Newbie


Joined: 18 Feb 2004
Posts: 2

PostPosted: Wed Feb 18, 2004 7:29 am   
 
#trigger {&%d{num}}{#sub %format( "&0.0n", @num)}

Well I figured it out. if only i could get it to not change w00t to w0t.
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