 |
daemoan.vermillious Apprentice

Joined: 28 Feb 2009 Posts: 135 Location: Chico, Ca
|
Posted: Fri Oct 23, 2009 4:27 pm
Trigger Capture? or Something.. |
Can I capture a math equation writeing like.
Pattern:
MATH: 8 * 5 ( 2 - 5 ) + 46 = ?
I only want to capture the equation.... between the MATH: and the ?
If it is possible... can I also re-out put it to my still score status window.
and also if possible removing the space between each character...
Thanks |
|
|
 |
Tarken Aurelius Apprentice

Joined: 23 Oct 2008 Posts: 120 Location: Cincinnati, Ohio
|
Posted: Fri Oct 23, 2009 4:34 pm |
Sure:
Code: |
#TRIGGER {MATH~:(*)~=~ ~?} {#var equationvar %replace(%1," ","")} |
Give that a try. |
|
_________________ Tarken Aurelius, quality triggers since 2004! Trigger consulting since 2008! Content Developer at BatMUD (www.bat.org) |
|
|
 |
|
|