copilotEvent Script Example - Search