How to write this trigger

Posted by Killunix on Sat 27 Dec 2014 09:40 AM — 3 posts, 13,182 views.

#0
Hi every mush professional how to write a trigger to capture the value of AA,BB,CC,DD,EE,FF,GG,HH,RR

AA BB CC
↖ | ↗
DD-- EE-- FF
↙ | ↘
GG HH RR


thanks!
Amended on Sat 27 Dec 2014 09:43 AM by Killunix
USA Global Moderator #1
Hmm...

I suppose I would capture all lines and keep track of each batch of five consecutive lines.
Then if lines 2 and 4 in the most recent batch of 5 lines are "↖ | ↗" and "↙ | ↘", then I would split lines 1 and 5 on whitespace and line 3 on dashes ( http://lua-users.org/wiki/SplitJoin ).
Australia Forum Administrator #2
It might be possible with a multi line trigger but you need to be patient getting it correct.