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


Joined: 21 Jul 2005
Posts: 3

PostPosted: Thu Jul 21, 2005 3:58 pm   

Converting Text to Numbers
 
Is there any built in function in zMUD that can convert a number written in text to a real number?

For example:
Two strips of dwarf meat.

I want to get 'Two' and convert it into 2.
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Thu Jul 21, 2005 7:33 pm   
 
That is accomplished in this finished script:

http://forums.zuggsoft.com/phpbb/viewtopic.php?p=65622#65622

It will need to be modified to fit your needs.
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