Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, 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
➜ Miniwindows
➜ miniwindow chat capture
Posting of new messages is disabled at present.
Refresh page
Posted by
| Jaksynrender
(7 posts) Bio
|
Date
| Tue 20 Dec 2022 04:16 PM (UTC) |
Message
| i am unable to capture gossip in the miniwindow im new to mushclient here is my current triggers
<trigger
enabled="y"
match="* \(gossip\) '*'"
script="chats"
omit_from_output="y"
sequence="100"
></trigger>
<trigger
enabled="y"
match="You [gossip] '*'"
script="chats"
omit_from_output="y"
sequence="100"
></trigger>
here is an example of the gossip in game one is from me one is from someone else would like to capture both
You [gossip] 'uhh test.
Someone (gossip) [ uhh test ]
I know its the brackets and parenthesis but im not a coder | Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #1 on Tue 20 Dec 2022 05:57 PM (UTC) |
Message
|
Quote: the miniwindow
Please link to the miniwindow you're talking about. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Nick Gammon
Australia (23,122 posts) Bio
Forum Administrator |
Date
| Reply #2 on Tue 20 Dec 2022 07:41 PM (UTC) |
Message
| In the first one:
You have backslashes there but it is not a regular expression. Try removing the backslashes.
In the second one:
You have a closing quote but your test data does not:
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Jaksynrender
(7 posts) Bio
|
Date
| Reply #3 on Tue 20 Dec 2022 08:34 PM (UTC) Amended on Tue 20 Dec 2022 09:44 PM (UTC) by Jaksynrender
|
Message
| sorry its your chat window Fiendish
name="Chat_Capture_Miniwindow"
author="Fiendish"
here is exact from my window and 2nd char window from prompt sorry cut off earlier.
You [gossip] 'test :)'.
Someone (gossip) [ test :) ]
i changed the triggers here is all my current triggers the rest are working but gossip doesnot:
the match="* **tells you '*'"
catches both direct tells and group tells
<triggers>
<trigger
enabled="y"
match="You say '*'"
script="chats"
omit_from_output="y"
sequence="100"
></trigger>
<trigger
enabled="y"
match="* **tells you '*'"
script="chats"
omit_from_output="y"
sequence="100"
></trigger>
<trigger
enabled="y"
match="* says '*'"
script="chats"
omit_from_output="y"
sequence="100"
></trigger>
<trigger
enabled="y"
match="You tell * '*'"
script="chats"
omit_from_output="y"
sequence="100"
></trigger>
<trigger
enabled="y"
match="* (gossip) '*'"
script="chats"
omit_from_output="y"
sequence="100"
></trigger>
<trigger
enabled="y"
match="You [gossip] '*'"
script="chats"
omit_from_output="y"
sequence="100"
></trigger>
</triggers>
| Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #4 on Tue 20 Dec 2022 11:50 PM (UTC) |
Message
|
Quote:
You [gossip] 'test :)'.
This ends in a period that your pattern doesn't include.
Quote:
Someone (gossip) [ test :) ]
This has square brackets where your pattern has single quotes. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Jaksynrender
(7 posts) Bio
|
Date
| Reply #5 on Wed 21 Dec 2022 12:40 AM (UTC) |
Message
| so simple TY TY TY very much.
<--- not a programmer but im learning :) ty again | 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.
7,107 views.
Posting of new messages is disabled at present.
Refresh page
top