im trying to attach a custom window ie so i can do /echo whatever
but whenever i do the code mirc crashes on me like its like a memory leak where it starts erroring out windows
i intiate it like this
dialog -l botx {
title "BoTx Version" $+ $botx_version
size -1 -1 210 206
option dbu
tab "Connections", 100, -1 0 212 209
text "Server:", 105, 61 88 21 8, tab 100
text "Bot Name:", 104, 55 101 28 8, tab 100
edit "", 101, 92 88 50 10, tab 100
edit "", 102, 92 101 50 10, tab 100
button "Connect", 103, 87 126 37 10, tab 100
tab "Raw", 200
button "", 201, 1 17 208 176, tab 200
edit "", 202, 1 194 208 10, tab 200 multi return autovs autohs
tab "Channels/Nicks", 300
button "", 301, 0 17 146 176, tab 300
edit "", 302, 0 194 210 10, tab 300 multi return autovs autohs
list 303, 147 17 63 176, tab 300 extsel size
tab "Users", 400
text "Under Construction", 12, 82 103 49 8, tab 400
}
on *:dialog:botx:init:*:{
mdx SetMircVersion $version
mdx MarkDialog $dname
mdx SetControlMDX $dname 201,301 window dialog > $mircdirsystem\dialog.mdx
var %w = @botx_201
window -h %w
did -a $dname 201 grab $window(%w).hwnd %w
%w = @botx_301
window -h %w
did -a $dname 301 grab $window(%w).hwnd %w
}
i acutally edited a few things outa this.. well alot outa this kuz its flippin 12 pages long right now =x
but newayz any suggestions? |