I usually script everything on seperate lines... and when I have a function done I would shrink it alot, also using pipes sometimes...
saves me alot of scrolling :-]
but while scripting I try to write it out as much as I can cause it's better to read it then...