Using powermax to modify scenes iu7

Hi,
is anyone able to modify scenes with the status of the alarm?
Specific example, i want to light upp every z-wave connected light i have when any one of my z-wave motion detector (or visonic detectors) are tripped, but only when the alarm i armed (I abviously don’t want to set it off when I am at home.

One option would be if I can somehow get the Vera to change mode to Away automatically when I arm the Powermaster. Any suggestions?

I recommend the PLEG plugin, with it you can do almost anything 8)