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
daemoan.vermillious
Apprentice


Joined: 28 Feb 2009
Posts: 135
Location: Chico, Ca

PostPosted: 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
Reply with quote
Tarken Aurelius
Apprentice


Joined: 23 Oct 2008
Posts: 120
Location: Cincinnati, Ohio

PostPosted: 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)
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