@MrGuest
I had to ad this code to make it work:

Code:
action light()
{
my.emask |= ENABLE_CLICK; 	
my.event = click_light;
my.ambient=-100;
}


By the way isent this way of coding (your code) like Object Oriented Programming? It looks a lot like we did program with Java, and I have been coding with different of C(+, ++, # )that I have seen the same. And yes it is much better to program this way, it is so much easy to "understand" it..... grin for me anyway..... Thanks!


A6 and A7 Commercial
-------------------
Programmer always searching for more to learn and understand. smile