 |
darthzenox Newbie
Joined: 30 Oct 2009 Posts: 2
|
Posted: 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?
|
|
|
 |
GeneralStonewall Magician
Joined: 02 Feb 2004 Posts: 364 Location: USA
|
Posted: 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. |
|
|
 |
|
|