Am not good at scripting but following could be the pointers..
1. MoH works for users, because the MoH resources are assigned to their phone device pool via MRGL. I dont think this logic applies to any script.
2. If possible, create a node which can take the call to MoH resource before it is fully transferred to other user or voicemail.
3. The logic is humans does need MoH because they do take significant time to transfer but scripts are quicker than human being & hence the MoH need might not be so severe. Caller even might not realize a need of MoH if the script transfers the call.
If it helps, pls rate the post.
GP.