scripting:api:script-application:attach-event