Home User Guide Dll PLugins Raw input processing by dlls
11 | 12 | 2017
Raw input processing by dlls

mm2k6 dll plugins now support raw processing of

  1. incoming text from the mud
  2. chat text
  3. input text
This means that dlls can now process things before they are modified in any way by MudMaster opening the door to dlls that provide new script language support or MUD extensions.

Any dll that has a procedures called onReceiveLine will be called with the raw input from the MUD as it is received. If the dll executes /handledByDll {TRUE} then the text won't be processed any further by mm2k6 otherwise mm2k6 will continue processing the MUD text normally.

Any dll that has a procedure called onReceiveChatLine will be called with the chat text which is about to be displayed. If the dll executes /handledByDll {TRUE} then mm2k6 won't process the chat text any further.

Any dll that has a procedure called onInputLine will be called with the text from the input line. If the dll executes /handledByDll {TRUE} then mm2k6 won't process the input any further.

mm2k6 always attempts to call onLoad when a dll is loaded using /loadlib. You can put any initialization code you want there.

mm2k6 always attempts to call onUnload when a dll is remvoed with /freelib or when a session with dlls is closed or when mm2k6 is closed.