Trigger task on specific event

Hi so i have a task which should run when a software is installed in immybot how can i trigger it on that event ??