I'm working with events. For understanding the entity which triggers an event, I'm using skills. Like that;

Code:
#define WHO_AM_I my.skill1
#define WHO_ARE_YOU your.skill1

#define I_AM_PLAYER 0
#define I_AM_NPC 1



But when I tried to use them the event function is crashing.