I tested your code, it dosent work as it should, this one:
Code:
alias test {
set -l %xx $lines($+(",$mircdir,aj\,%tnwork,.txt,"))
set -l %chan $read($+(",$mircdir,aj\,%tnwork,.txt,"),nt,%xx)
while (%xx) {
dec %xx
set %chan $read($+(",$mircdir,aj\,%tnwork,.txt,"),nt,%xx)
join %chan
}
}
it only join the last channel in the *.txt file, not the others added in it..
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }