It occurred to me that you may want an example of the timer thing, so here's the basic idea...
Code:
{_ Check the timer here. Example is 2 seconds _}
{if SecondsSince(state.script_timer) > 2:
{_ Add the script, or code, here that you want to run ONLY the first time after the timer has expired _}
{_ Set/reset the timer here if you want the script to run after X seconds after the last time it spoke _}
{SetState('script_timer', SecondsSince(0))}
}
{_ Or set/reset the timer here if you want the script to run X seconds after the last time the script ran, regardless if it spoke or not _}
{_ This is my preferred place _}
{SetState('script_timer', SecondsSince(0))}