capture irregular multiline to miniwindow

Posted by Daklaar on Thu 17 Dec 2020 04:18 AM — 3 posts, 16,378 views.

#0
Trying to capture a group list to push to a miniwindow. It can range from 1 row to 10 rows and is ANSI colored. I can get a trigger to match the header and push it to a new window but not all of it and not dynamically.

Member              Hits      Move      Position  Fly Inv Water iMT Here Light Mem
------------------------------------------------------------------------------------
  RE Character1          v.good    rested    standing   Y   Y    Y    Y   Y     0    0


or

Member              Hits      Move      Position  Fly Inv Water iMT Here Light Mem
------------------------------------------------------------------------------------
  RE Character1          v.good    rested    standing   Y   Y    Y    Y   Y     0    0
  PA Character2          good    rested    standing   Y   Y    Y    Y   Y     0    0
  ED Character3          fair    rested    standing   Y   Y    Y    Y   Y     0    0
  AD Character4          v.good    rested    standing   Y   Y    Y    Y   Y     0    0
  BC Character5          awful    rested    standing   Y   Y    Y    Y   Y     0    0
  RA Character6          v.good    rested    standing   Y   Y    Y    Y   Y     0    0
Amended on Thu 17 Dec 2020 04:20 AM by Daklaar
USA Global Moderator #1
It seems like this question has nothing to do with miniwindows and actually is just about variable-line-count capturing.

What you want is two triggers instead of just one. One trigger activates on the header and then enables a disabled catch-all "*" trigger for the rest of the lines. When the header trigger fires, activate the catch-all trigger to capture the rest of the lines. Then have the catch-all trigger disable itself when it sees a blank line.
Amended on Thu 17 Dec 2020 04:45 AM by Fiendish
Australia Forum Administrator #2
Template:faq=37
Please read the MUSHclient FAQ - point 37.