function receive_event()
{
if (event_type == EVENT_RECEIVE)
{
... // <<< I need the script to check skill and react
}
}

action actor()
{
...
my.ENABLE_RECEIVE = ON; // sensible for this event
my.emask |= ENABLE_RECEIVE;
my.event = receive_event;
...
}