i dont get it. I've read the wiki like 10 times but i cant figure out how to execute a script on a begin of an alarm. (http://www.zoneminder.com/wiki/index.ph ... n_alarm.3F)
So i need a little help

First of all, where do i have to put my scripts that they can access the zm-enviroment?
Second: How are those scripts triggerd? And by what?
Last: Could i also trigger a script when the alarm ends? or maybe also when it goes into "after alarm state but not idle"?
Cheers!