quit alias - 21/01/03 09:24 PM
Code:
alias quit { if ($1) { scon -at1 .quit ragnarök 1.0 › $1 set %qreason ragnarök 1.0 › $1 echo $color(other text) -at ( $+ $kolorj(›) $+ ) Was connected for $uptime(server,1) echo $color(other text) -at ( $+ $kolorj(›) $+ ) Quit: %qreason halt } else { scon -at1 .quit ragnarök 1.0 set %qreason ragnarök 1.0 echo $color(other text) -at ( $+ $kolorj(›) $+ ) Was connected for $uptime(server,1) echo $color(other text) -at ( $+ $kolorj(›) $+ ) Quit: %qreason } }
why doesnt this work? without scon -at it works fine, so i guess it should be scon thats wrong?