some small info:
this code is really bad:
Code:
action bide()
{
my.event=emovisible();
wait(1);
my.event=show_panels;my.enable_scan=on;
}



i think i should explain your errors:
Code:
action bide()
{

all okay

Code:
my.event=emovisible();

wrong, your function "emovisible" will return anything and it's not you function pointer

Code:
wait(1);

Event will never be called because you have no emask or enable_*
This is good, because your program will crash with the code above

Code:
my.event=show_panels;my.enable_scan=on;

This code contains no errors, but your old, wrong event definition will be overwritten by your new! That's why your program don't call both event functions and so it don't crash! Also the event "scan" will be activated


if you want two event function, write something like this:

Code:
function bide_event()
{
    emovisible();
    show_panels();
}
action bide()
{
    my.event=bide_event;
    my.enable_scan=on;
}



but i don't understand your need of two events, because you only activated ENABLE_SCAN!

Hope it helps
Richi007


Visit my site: www.masterq32.de