also, its very important to look at what you are using to decide which part of the for alias runs, you have $3-
in your string "for $scriptline aliases.txt lol = 3; %lol < 5 ;inc %lol"
the $3 is "lol"
not sure why you have $scriptline in there either
try
/testingfor {
for 3; $+(%,lol) < 5 ;inc $+(%,lol)
say hi | ;has no relation to the "for alias"
; :FOREND <- does nothing here
}