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
➜ General
➜ Prompt and Blank Lines Issues
Prompt and Blank Lines Issues
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Uchida
(11 posts) Bio
|
Date
| Mon 06 May 2024 12:47 PM (UTC) Amended on Mon 06 May 2024 01:52 PM (UTC) by Uchida
|
Message
| Hi, I am playing aardwolf. I have a few things GAG and I then realised there are many blank lines and repeated prompt showing up. It is really annoying. Is there a way i can remove the blank lines and duplicates? I just want to see one line instead of so many lines and blank lines.
Thanks!
Here is what i am seeing during combat:
<[71100/73381hp 46751/46751mn 30902/33554mv]>
<[71100/73381hp 46751/46751mn 30902/33554mv]>
<[71100/73381hp 46751/46751mn 30902/33554mv]>
<[71100/73381hp 46751/46751mn 30902/33554mv]>
<[71100/73381hp 46751/46751mn 30902/33554mv]>
<[71100/73381hp 46751/46751mn 30902/33554mv]>
<[71100/73381hp 46751/46751mn 30902/33554mv]>
<[71100/73381hp 46751/46751mn 30902/33554mv]>
<[71100/73381hp 46751/46751mn 30902/33554mv]>
--> TICK <-- | Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #1 on Mon 06 May 2024 01:21 PM (UTC) Amended on Mon 06 May 2024 01:22 PM (UTC) by Fiendish
|
Message
| Since your scripts are clearly hiding all combat output, what if you disable your prompt during combat too? |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Uchida
(11 posts) Bio
|
Date
| Reply #2 on Mon 06 May 2024 01:54 PM (UTC) |
Message
| I have searched the forum and used a OmitBlankLine plugin written by Digs and if i removed the battle prompt. The lines are mostly cluttered without blank lines but i do want to see the battle prompt. | Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #3 on Mon 06 May 2024 02:42 PM (UTC) Amended on Mon 06 May 2024 02:43 PM (UTC) by Fiendish
|
Message
|
Quote: I have a few things GAG
Quote: but i do want to see the battle prompt
I think an earlier version of your post said you were specifically triggering on combat output. If you hide combat output, and what's left is a bunch of battle prompts between combat rounds, and you say you want to hide the battle prompts, you can't then say that you also want to keep the battle prompts. Hiding them and not hiding them are incompatible outcomes.
So what exactly are you gagging and what exactly do you want to show and when? |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Uchida
(11 posts) Bio
|
Date
| Reply #4 on Mon 06 May 2024 02:52 PM (UTC) |
Message
| Hi Fiendish,
I am gagging small damage messages like counterstrikes etc. I meant i want to see battle prompt but i do not want to see duplicate battle prompts.
So i am trying to remove all duplicates of battle prompts and keep just one line of battle prompt.
Thanks! | Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #5 on Mon 06 May 2024 04:13 PM (UTC) Amended on Mon 06 May 2024 04:20 PM (UTC) by Fiendish
|
Message
| For that you'd need to have a trigger that matches on your prompt, compares it to previously captured prompts, and then selectively hides it only if it's the same as before.
Off the top of my head, two options that would work for that are https://www.mushclient.com/scripts/doc.php?function=DeleteLines (though read that page carefully for gotchas about using it) or making a prompt trigger that catches all prompts for inspection and then builds a new omit_from_output prompt trigger customized for that specific prompt line to omit repeated prompts that look the same as the one you just saw. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Uchida
(11 posts) Bio
|
Date
| Reply #6 on Mon 06 May 2024 04:47 PM (UTC) |
Message
| Thank you Fiendish! That is what I was thinking as well. I just need to find out how to code it :P I will go read up on DeleteLines. Cheers! | 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.
2,275 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top