|
umdbandit Wanderer
Joined: 31 Oct 2004 Posts: 94
|
Posted: Tue May 08, 2007 4:48 am
multi like capture not working |
#CLASS {RoomCapture}
#VAR Objects {} {}
#TRIGGER "ObjCap" {^*~([andeusw, ]~)$} {Objects=""}
#COND {} {#IF (%match( %line, "HP:%d EP:%d~>")) {
#STATE ObjCap 3
#SET ObjCap 3 1
} {Objects=%concat( @Objects, "|", %line)}} {looplines|param=30|prompt}
#COND {*} {
#STATE ObjCap 0
#ECHO Error in ObjCap: Exceeded 30 line capture limit.
}
#COND {} {#NOOP Further processing here.} {manual}
#CLASS 0
That is my Zmud multi line capture, for pulling out room contents (With the storage variable and class)..... I've tinkered around with it a lot, and it fires, but none of the conditions work. Works fine in Zmud, but I dont get anything in CMUD.. Thanks for the help, like always. |
|
_________________ Rufus- Winner of Stuff |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Tue May 08, 2007 2:50 pm |
I'll take a look a this for you, but I'll need you post an example or two of the room text that this trigger is supposed to capture.
At first glance though, I would say it's because your second and fourth conditions don't actually say what they are matching. |
|
_________________ Asati di tempari! |
|
|
|
umdbandit Wanderer
Joined: 31 Oct 2004 Posts: 94
|
Posted: Tue May 08, 2007 6:24 pm |
worked after i rebooted, for whatever reason.
Wierdness :P |
|
_________________ Rufus- Winner of Stuff |
|
|
|
|
|