line.all

A new array of every line the script has now, oldest first (deleted ones are not in it). Use it without parentheses: line.all.

line.all() -> array<line>

Example

for d in line.all
    line.delete(d)