Ah, I missed what you said about removing the first word in there. Yeah, just use $deltok as mentioned in there. You'll only want to do it one time, though.
WHILE is a way to loop. /help while
Here's an example:
alias Count_to_10 {
var %counter = 1
while (%counter <= 10) {
echo -a %counter
inc %counter
}
}
That will let you loop through something. In your case, you'd just do something like:
while (%readline <= %lines) {
do stuff
inc %readline
}
What that would do is to loop until %readline > %lines without the need of aliases.