| 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. ExamplesLoad chat dll and name it Chatter: Tell it to not strip the leading newlines in the viewer window: Set the dll to not apply script to the chat sent to the viewer window: Change which session window the chat is directed to myChatViewer.mms: Download this ChatWindow.dll and put it in the folder where your MudMaster.exe is.
|