WRCLiam Posted January 16, 2010 Report Share Posted January 16, 2010 At the moment i'm playing around with a toolbar i made, i'm now having probs on *:dialog:k_bar:sclick:4: { if ($did($dname,4).sel = 4) { dialog -m ab ab else { halt } } } on *:dialog:k_bar:sclick:4: { if ($did($dname,4).sel = 2) { if ($scid($activecid).status = connecting || $scid($activecid).status = connected ) { scid $activecid disconnect } else { scid $activecid server } update_k scid $activecid window -a "status window" } } If i was to take away on *:dialog:k_bar:sclick:4: { if ($did($dname,4).sel = 4) { dialog -m ab ab else { halt } } } the connect button works. the .sel 4 will the button next to the connect one which works fine, BUT then the .sel 2 which is the connect button wont work untill i remove the sel 4 make sence? Link to comment Share on other sites More sharing options...
WRCLiam Posted January 16, 2010 Author Report Share Posted January 16, 2010 Hmmm just a guess off the top of my head but try... on *:dialog:k_bar:sclick:4: { if ($did($dname,4).sel = 2) { if ($scid($activecid).status = connecting || $scid($activecid).status = connected ) { scid $activecid disconnect } else { scid $activecid server } update_k scid $activecid window -a "status window" } elseif ($did($dname,4).sel = 4) { dialog -m ab ab else { halt } } } Thanks mate, it work... Link to comment Share on other sites More sharing options...
Guest Travis Posted January 16, 2010 Report Share Posted January 16, 2010 You had two of the same events. mIRC will only process the first one. That is why the second event didnt work. Link to comment Share on other sites More sharing options...
WRCLiam Posted January 17, 2010 Author Report Share Posted January 17, 2010 One other thing i've been having problems with is docking, i've used hosdock and rebar, i'm using mirc 3.5 none of them dlls seem to be docking probably any ideas? Link to comment Share on other sites More sharing options...
Guest Travis Posted January 17, 2010 Report Share Posted January 17, 2010 Use dcx and the /xdock feature. Link to comment Share on other sites More sharing options...
err0r Posted January 17, 2010 Report Share Posted January 17, 2010 * agrees with travis.. xdock in dcx is the best way to go. Link to comment Share on other sites More sharing options...
The Gate Keeper Posted January 17, 2010 Report Share Posted January 17, 2010 did you say mIRC 3.5? why are you using such an ancient version? Link to comment Share on other sites More sharing options...
WRCLiam Posted January 17, 2010 Author Report Share Posted January 17, 2010 Sorry 6 35 Whats the alias to dcx.dll? i have: alias xdock { dll $shortfn($scriptdirdcx.dll) $$1- } and: xdock -t $dialog(k_bar).hwnd +h Link to comment Share on other sites More sharing options...
Guest Travis Posted January 18, 2010 Report Share Posted January 18, 2010 n1373=;;DCX;; n1374=dcx { n1375= if ($isid) { return $dll(dll\dcx.dll,$1,$2-) } n1376= else { dll "dll\dcx.dll" $1 $2- } n1377=} n1378=udcx { n1379= if ($dcx(IsUnloadSafe)) { $iif($menu, .timer 1 0) dll -u dcx.dll } n1380= else { echo 4 -qmlbfti2 [DCX] Unable to Unload Dll. } n1381=} n1382=xdid { n1383= if ( $isid ) { return $dcx( _xdid, $1 $2 $prop $3- ) } n1384= dcx xdid $2 $3 $1 $4- n1385=} n1386=xdialog { n1387= if ( $isid ) { return $dcx( _xdialog, $1 $prop $2- ) } n1388= dcx xdialog $2 $1 $3- n1389=} n1390=xpop { n1391= if ( $isid ) { return $dcx( _xpop, $1 $prop $2- ) } n1392= dcx xpop $2 $1 $3- n1393=} n1394=xpopup { n1395= if ( $isid ) { return $dcx( _xpopup, $1 $prop $2- ) } n1396= dcx xpopup $2 $1 $3- n1397=} n1398=mpopup { dcx mpopup $1 $2 } n1399=xdock { n1400= if ($isid) { return $dcx( _xdock, $1 $prop ) } n1401= dcx xdock $1- n1402=} n1403=xtray { n1404= if ($isid) { return $dcx(TrayIcon, $1 $prop $2-) } n1405= dcx TrayIcon $1- n1406=} n1407=tab { n1408= var %i = 1, %tab | while (%i <= $0) { n1409= if ($eval($+($,%i),2) != $null) { %tab = $instok(%tab,$eval($+($,%i),2),$calc($numtok(%tab,9) + 1),9) } n1410= inc %i n1411= } n1412= return %tab n1413=} n1414=shell { return $scriptdirshell.dll } Link to comment Share on other sites More sharing options...
WRCLiam Posted January 19, 2010 Author Report Share Posted January 19, 2010 Travis I take it thats the alias for dcx? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now