vbscript: Added SetScriptState implementation.