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


Joined: 30 Oct 2009
Posts: 2

PostPosted: Fri Oct 30, 2009 11:08 pm   

Prompt
 
For the mud I play the prompt starts with "hps/maxhp exp >" and I cannot figure out how to get cmud to read it since it starts with a variable. Any suggestions?
Reply with quote
GeneralStonewall
Magician


Joined: 02 Feb 2004
Posts: 364
Location: USA

PostPosted: Fri Oct 30, 2009 11:24 pm   
 
Assuming it's something like "80/100 23 >"

#regex {^(\d+)/(\d+) (\d+) \>$} {}

Which will save hps, maxphp, and exp in %1 %2 %3.
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