On *:DIALOG:DialogName:*:*: {
If ($Devent == init) {
; These 2 dll commands always have to be used in an init dialog event if you are using it for MDX.
dll $Shortfn($ScriptdirMDX\MDX.dll) SetMircVersion $Version
dll $Shortfn($ScriptdirMDX\MDX.dll) MarkDialog $DName
; This tells MDX.dll to set the dialog to the specified rgb colour value.
dll $Shortfn($ScriptdirMDX\MDX.dll) SetDialog $DName bgcolor $Rgb(255,0,0)
; This tells MDX.dll to set a specific id to a certain background, text background, or text colour. For this example, ID number 1.
dll $Shortfn($ScriptdirMDX\MDX.dll) SetColor $DName 1 text $Rgb(255,255,0)
dll $Shortfn($ScriptdirMDX\MDX.dll) SetColor $DName 1 textbg $Rgb(255,255,0)
dll $Shortfn($ScriptdirMDX\MDX.dll) SetColor $DName 1 background $Rgb(255,255,0)
}
}