Page 1 of 1

How to update MUSHclient plugin to handle QUESTION

Posted: Mon Aug 05, 2013 3:58 pm
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.

How to update MUSHclient plugin to handle ANNOUNCEMENT:

Posted: Wed Nov 27, 2013 12:13 pm
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.

How to update MUSHclient plugin to handle all ESP's

Posted: Thu Sep 11, 2014 11:10 am
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. *

How to update MUSHclient plugin to handle Culling Task Count

Posted: Thu Sep 11, 2014 11:16 am
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"