On agent
From Scriptwiki
This event triggers when a Microsoft Agent finishes speaking.
on <level>:AGENT:<commands>
- The level field here is essentially useless and only included for formatting, because the agent has no access level.
Example
on 1:AGENT:/echo Agent $agentname has finished speaking