Cartel help with triggers?

by Shaddus

Back to Mechanic's Corner.

Shaddus2010-02-10 17:04:03
I'm trying to make a trigger for checking all the designs in a cartel.

QUOTE
4540 SRO Instruments a lustrous violin of starry onyx
For instance. I want this to send

CARTEL %2 CATALOGUE %1

What's the best way to do this?
Lehki2010-02-10 18:24:40
I'm guessing here because I rarely ever even look at designs or cartels and not sure what that message/command means, but I think...

CODE
(\\d+) (+) .+


would work.

EDIT: Or was "Instruments" one of the things you wanted to capture?
Shaddus2010-02-10 18:53:13
QUOTE (Lehki @ Feb 10 2010, 12:24 PM) <{POST_SNAPBACK}>
I'm guessing here because I rarely ever even look at designs or cartels and not sure what that message/command means, but I think...

CODE
(\\d+) (+) .+


would work.

EDIT: Or was "Instruments" one of the things you wanted to capture?

Basically what I'm wanting to do is make an alias like CATALOGUE which checks every design in that cartel.
Lehki2010-02-10 19:09:13
CODE
^(\\d+)\\s+(\\w+)\\s


Okay that trigger there should work.
Shaddus2010-02-10 19:29:56
QUOTE (Lehki @ Feb 10 2010, 01:09 PM) <{POST_SNAPBACK}>
CODE
^(\\d+)\\s+(\\w+)\\s


Okay that trigger there should work.

You freaking rock. Thank you.