Hey
(Still trying to convert)
I finaly have the slick working great, now for this
the xdid below doesnt seem to be working, i've also tryed -t and -o the button is for connect and dissconnect
alias update_k {
if (!$dialog(k_bart_table)) { halt }
else {
scid $activecid
if ( $scid($activecid).status = connecting || $scid($activecid).status = connected ) {
xdid -a $dname 1 1 +cvb 0 1 $rgb(255,0,0) Dis $chr(9) Tooltip
}
else {
xdid -a $dname 1 1 +cvb 0 1 $rgb(255,0,0) Con $chr(9) Tooltip
}
}
}
;// Callback alias for k_bart
alias k_bart_cb {
if ($2 != mouse) {
echo $color(info) -s */ k_bart_cb: $1-
if ($3-4 == 1 1) if ($scid($activecid).status = connecting || $scid($activecid).status = connected ) { scid $activecid disconnect }
else {
scid $activecid server
}
update_k
}
}