Chat Capture

Posted by Khuran on Mon 06 Sep 2021 01:05 AM — 2 posts, 12,819 views.

#0
Hello there MUSH community! Thank you Nick for all the hard work! I'm a total programming newbie and am wondering how I can send the following from my mud to another static window:

mud output:
Your group of 2 members consists of:
Member Hits Move Position Fly Inv Water iMT Here Light Mem
------------------------------------------------------------------------------------
CL Yang perfect rested standing N N N Y Y 0 0
PA Yinn perfect rested standing N N Y N Y 0 0

basically, just show the whole group table on the different window and if possible preserve the colors.

thank you, any help to point me where to start would be gladly appreciated.
Australia Forum Administrator #1
There have been quite a few posts about chat redirectors (copy chat to a miniwindow) for example:

http://www.gammon.com.au/forum/?id=10515

Also see:

Template:faq=37
Please read the MUSHclient FAQ - point 37.


That shows how you might capture a batch of lines (as in your example). Combine that with sending to a chat window and you should be able to achieve what you want.