|
Kiasyn Apprentice
Joined: 05 Dec 2004 Posts: 196 Location: New Zealand
|
Posted: Tue May 31, 2005 7:42 am
Matching different lines.. |
OK i'm not sure how to go about this...
i want to match a set of lines from the mud...
not every line will be shown every time and the number of lines can change as well
Code: |
You dig up some Limestone (86) and drop it on a stack!
You dig up some Adamantite Ore (12) and drop it on a stack!
You dig up some Uncut Garnet (2) and drop it on a stack!
|
if it digs up some ore, or some uncut garnet i want it to execute: fill stuff uncut or fill stuff ore..
then after all the lines have been shown... i want to start digging again by executing: mine @direction
anyone know how i can do this?
>.<
thanks![/code] |
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Tue May 31, 2005 12:09 pm |
Is there a message to tell you that you've stopped digging? If not then I'd think you'd be best putting an alarm to mine a few seconds after you're done digging...
Code: |
#TRIGGER {You dig up some (*) ~((%d)~) and drop it on a stack!} {#IF (%1 = "Uncut Garnet" OR %match( %1, "%w Ore") = 1) {fill stuff %1;#ALARM minedirection {+2.5} {mine @direction}}} |
That matches Adamantite Ore and Uncut Garnet but doesn't match Limestone. |
|
|
|
|
|