If I understand what you are trying to do, I believe you should be doing the loop inside the alias that the timer calls.

var %i = $send(0)
while %i { if ($send(%i).status == inactive) window -c $+("Send $send(%i) $send(%i).file,") | dec %i )


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C