Make your agent perform an action only if 300 ticks have passed since its last activation:
In this example, we use two variables (VA08, VA09) to keep track of the amount of ticks since the most recent "SUCCESS!" or since initilization. Using basic math (SUBV) and flow control (DOIF, ELSE, ENDI), we can ensure that 300 ticks pass between each instance of "SUCCESS!". The first time this code is called, VA08 and VA09 are initialized and nothing noticable happens.
DOIF VA08 EQ 0 SETV VA09 WTIK ELSE SETV VA09 WTIK SUBV VA09 VA08 DOIF VA09 GE 300 SETV VA09 WTIK SEZZ "SUCCESS!" ELSE SEZZ "Please wait longer." SETV VA09 VA08 ENDI ENDI SETV VA08 VA09