|
gamblejay Beginner
Joined: 13 Jun 2015 Posts: 15
|
Posted: Tue May 30, 2017 1:35 am
Capturing Multiple Lines |
Trying to do two different things with capture but somewhat similar. I first thing I need is for a guild list, and everything combined sounds complicated to me so not sure if its even possible.
There are blah blah members awake:
: Member
: Member
These lesser people are also awake:
So just using #capture by itself only captures the members awake: line, is it possible to have it capture all lines down to where is says These lesser people are also awake. Those names get sent to the capture window, but I need the capture to trigger every 20-30 seconds and when it is captured again the previous stuff sent to the window is cleared with the updated one. So essentially every 20 seconds the list is updated in that window so I can see who wakes up at all times.
The second one is much the same with tells, I get tells but the sentence is normally on the next line.
Someone tells you:
Greetings.
All my capture is once again doing is sending the Someone tells you: part. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: Tue May 30, 2017 3:20 am |
You want a multi-state #TRIGGER:
#TRIGGER {there are * members awake} {#CAPTURE Who;#GAG}
#CONDITION {: (%w)} {#CAPTURE Who;#GAG;#STATE 1} {within|param=1}
Something like that should capture them all to a special window, and suppress it from the main window. It will likely be a lot of spam once you are checking every 20 seconds.
#ALARM "whoChecker" +20 {#CLR Who;whoCommand}
That clears the window at regular intervals and looks to recapture data. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
gamblejay Beginner
Joined: 13 Jun 2015 Posts: 15
|
Posted: Tue May 30, 2017 5:03 am |
Thank you for all the help!
|
|
|
|
gamblejay Beginner
Joined: 13 Jun 2015 Posts: 15
|
Posted: Fri Jun 16, 2017 4:00 am |
Having an issue when one of the members uses a certain spell it changes the way they look on the list.
: (Member)
: Member
Whats happening is that the trigger will only record up to that name inside the (Member) and capture it to the window then the (Member) and names below will be put on my cmud main screen and is not getting captured. Its essentially splitting the list between the list window and mud. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: Mon Jun 19, 2017 9:26 pm |
so change the (%w) to ([%w%p])
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|