Fix a script bug that can't use stacked function calls.
Authored by: utunnels 2007-04-25
Parent: [r815]
Child: [r817]