Hello,

engine_getscript should do the job.