How to update MUSHclient plugin to handle QUESTION

Discussion of different MUD clients, plugins, etc. as well as technical help.
Post Reply
User avatar
Kent
Member
Posts: 660
Joined: Mon Feb 25, 2013 8:31 pm

How to update MUSHclient plugin to handle QUESTION

Post by Kent »

If you want to have your QUESTIONs sent to the chat window along with SAYs and Tells, just press Shift+Control+P and edit the pluginatorchat.xml file, and locate lines in the centre of that file that follow the following pattern.

---------------------------------------------------------------------------------------------------------------------------


Copy and paste this block appropriately into the pluginatorchat.xml file:
>
<send>EnableTrigger ("blankline", true)</send>
</trigger>
<trigger
enabled="y"
group="chatecho"
match="^ \[QUESTION \- (.*?)\]\: (.*?)$"
regexp="y"
script="redirect"
sequence="100"
>
</trigger>
<trigger
group="chatnoecho"
match="^ \[QUESTION \- (.*?)\]\: (.*?)$"
omit_from_output="y"
regexp="y"
script="redirect"
send_to="12"
sequence="100"


Remember to re-install the plugin after saving.
Last edited by Kent on Thu Sep 11, 2014 11:33 am, edited 2 times in total.
- Kent "Gunney" Gunderman


A dirty woodsman frowns at you and suggests you return after getting cleaned up.

Helpful tips, commands, and hints for new CLOKers: viewtopic.php?f=6&t=2367&p=12822#p12822
User avatar
Kent
Member
Posts: 660
Joined: Mon Feb 25, 2013 8:31 pm

How to update MUSHclient plugin to handle ANNOUNCEMENT:

Post by Kent »

I have also figured out how to make the GMs' rainbow-colored announcements appear in your chat window, too. In like manner, insert these lines in an appropriate location in your pluginatorchat.xml file:


<trigger
enabled="y"
group="chatecho"
match="^(OOC) ANNOUNCEMENT\: (.*?)$"
regexp="y"
script="redirect"
sequence="100"
>
</trigger>
<trigger
group="chatnoecho"
match="^(OOC) ANNOUNCEMENT\: (.*?)$"
omit_from_output="y"
regexp="y"
script="redirect"
send_to="12"
sequence="100"
>



Re-install the plugin after saving.

Note that this code is the hardest to test as it depends on some GM making an announcement, which may be days apart, and they recently changed the format to have (OOC) at the front. Let me know if this isn't working.
Last edited by Kent on Thu Sep 11, 2014 11:29 am, edited 1 time in total.
- Kent "Gunney" Gunderman


A dirty woodsman frowns at you and suggests you return after getting cleaned up.

Helpful tips, commands, and hints for new CLOKers: viewtopic.php?f=6&t=2367&p=12822#p12822
User avatar
Kent
Member
Posts: 660
Joined: Mon Feb 25, 2013 8:31 pm

How to update MUSHclient plugin to handle all ESP's

Post by Kent »

To expand on ESP output to the Chat window, here are two things you can add:

1. In your pluginatorchat.xml file, you will see already a couple of lines that go

match="^ \[ESP\-(.*?) \- (.*?)\]\: (.*?)$"

replace these lines with
match="^ \[ESP\-(.*?)$"
and you will get not only the esp's directed to the chat window but also pulse messages, such as,
[ESP-GRAY] * A brief pulse of the color Midnight-Blue flickers at the edge of your mind's eye. *



2. If you want to get ESP Rescue messages sent to your chat window, add these lines to your pluginatorchat.xml file:
>
</trigger>
<trigger
enabled="y"
group="chatecho"
match="^(.*?)Your sense of awareness(.*?)$"
regexp="y"
script="redirect"
sequence="100"
>
</trigger>
<trigger
group="chatnoecho"
match="^(.*?)Your sense of awareness(.*?)$"
omit_from_output="y"
regexp="y"
script="redirect"
send_to="12"
sequence="100">


This will enable you to see in your Chat window rescue messages such as,

* Your sense of awareness is briefly tinged with the color Dark-Turquoise. *
Last edited by Kent on Thu Sep 11, 2014 11:17 am, edited 1 time in total.
- Kent "Gunney" Gunderman


A dirty woodsman frowns at you and suggests you return after getting cleaned up.

Helpful tips, commands, and hints for new CLOKers: viewtopic.php?f=6&t=2367&p=12822#p12822
User avatar
Kent
Member
Posts: 660
Joined: Mon Feb 25, 2013 8:31 pm

How to update MUSHclient plugin to handle Culling Task Count

Post by Kent »

Add these lines of code appropriately in to your pluginatorchat.xml file then reinstall file after saving.

Every time you slay a monster in a culling task, it will update how many more are needed for that task, and also the message when your last mob is slain for the task.


>
<send>EnableTrigger ("blankline", true)</send>
</trigger>
<trigger
enabled="y"
group="chatecho"
match="^\[That\'s another dead (.*?)\! Only (.*?) more left to go\!\]$"
regexp="y"
script="redirect"
sequence="100"
>
</trigger>
<trigger
enabled="y"
group="chatecho"
match="^\[That should be enough to satisfy your guild for the time being\. Go back to your taskmaster and report\!\]$"
regexp="y"
script="redirect"
sequence="100"
- Kent "Gunney" Gunderman


A dirty woodsman frowns at you and suggests you return after getting cleaned up.

Helpful tips, commands, and hints for new CLOKers: viewtopic.php?f=6&t=2367&p=12822#p12822
Post Reply

Return to “Technical Stuff”