@MrGuest
I had to ad this code to make it work:
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.....

for me anyway..... Thanks!