alias tree { :begin .echo -a $chr(124) $notify(%tx) $chr(40) $notify(%tx).ison if $notify(%tx).ison == $false { .echo 12no conectado } if %tx > 10 { halt } inc %tx goto begin }
i made this , but in the if %tx > 10 { halt } doesnt work
Alias Tree {
var %tx = 1
While (%tx <= 10) {
echo -a $Chr(124) $Notify(%tx) ( $Notify(%tx).ison )
If ($Notify(%tx).ison == $false) { echo -a 12no conectado }
inc %tx
}
}