Event handler on template basis
I have templates x,y,z. When ever I created a page using x or modified the page which is created by using template x then an event should be called. When I create page using template y then no event should be call. Can any one help me how to do it ?