onswitchon

“onswitchon” specifies the script to run after the object is switched on.