Home User Guide Dll PLugins MudMaster Chat Redirect
04 | 09 | 2010
MudMaster Chat Redirect

Here is a dll which will redirect all activity on your MudMaster chat to the session window listed in a variable called ChatWindow. By default when this dll is loaded it creates the variable and loads it with ChannelViewer.mms. You can change the variable ChatWindow to redirect chat to a different window.

By default chat will be shown in both the window you are chatting in and the viewer window. You can change this by calling the setChatLineRedirectOnly command and setting it to true.

By default this dll removes extra leading newlines from the chat directed to the viewer window. This can be changed by calling the removeLeadingNewline command and setting it to false.

By default script in the viewer window is applied to the chat redirected there. Use the command setShowOtherTriggers {false} to Not process script on chat in other window.

Call the command help be reminded of the dll commands available

In addition to redirecting the chat to the other window the last chat will be stored in the $ChatWindowLastChat variable in case you would like to use that in script. As well every time the chat is rediected to the other window an alias called DoChatWindowCommand will be called if it exists.

Examples

Load chat dll and name it Chatter:
/loadlib Chatter ChatWindow.dll

Tell it to not strip the leading newlines in the viewer window:
/calldll Chatter removeLeadingNewline {false}

Set the dll to not apply script to the chat sent to the viewer window:
/call dll Chatter setShowOtherTriggers {false}

Change which session window the chat is directed to myChatViewer.mms:
/var {ChatWindow}{myChatViewer.mms}{chatStuff}

Download this ChatWindow.dll and put it in the folder where your MudMaster.exe is.