alias mdx_fullpath { return $+(",D:\Program Files\mIRC\\mdx.dll,") }
alias mdx { dll $mdx_fullpath $1- }
alias mdxinit {
dll $mdx_fullpath SetMircVersion $version
dll $mdx_fullpath MarkDialog $dname
}
dialog diag {
option dbu
size -1 -1 255 130
title "Dialog"
list 1,-1 -1 69 98,extsel size
}
on *:dialog:diag:init:*:{
mdxinit
mdx SetControlMDX $dname 1 TreeView haslines linesatroot hasbuttons > D:\Program Files\mIRC\\views.mdx
did -f $dname 1
did -a $dname 1 Misc
did -i $dname 1 1 cb root last 1
did -a $dname 1 Timing
did -i $dname 1 1 cb root 1
did -a $dname 1 Email
did -i $dname 1 1 cb root last 1
did -a $dname 1 Email Functions
did -i $dname 1 1 cb root 1
did -a $dname 1 Colors
did -i $dname 1 1 cb root last 1
did -a $dname 1 Bots
did -a $dname 1 Status Win
did -i $dname 1 1 cb root 1
did -a $dname 1 Filters
did -a $dname 1 Sounds
did -a $dname 1 Windows
did -a $dname 1 Web
}