Fix a bug that when a script calls another script, the global pcurrentscript is changed.
Authored by: utunnels 2007-04-25
Parent: [r810]
Child: [r812]