Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ Plugins
➜ capture irregular multiline to miniwindow
capture irregular multiline to miniwindow
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Daklaar
(1 post) Bio
|
Date
| Thu 17 Dec 2020 04:18 AM (UTC) Amended on Thu 17 Dec 2020 04:20 AM (UTC) by Daklaar
|
Message
| 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
| Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #1 on Thu 17 Dec 2020 04:43 AM (UTC) Amended on Thu 17 Dec 2020 04:45 AM (UTC) by Fiendish
|
Message
| 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. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Nick Gammon
Australia (23,070 posts) Bio
Forum Administrator |
Date
| Reply #2 on Fri 18 Dec 2020 04:32 AM (UTC) |
Message
| |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
10,693 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top