okay here is my action killer script
when my acorns = 1;
i want the killer_ent to be removed
i get an empty pointer error for the line (int(you.acorns)==1);
why is this
i dont get this error in my pickup script

action killer
{
killer_ent = my;
if (int(you.ACORNS)== 1)
{
ent_remove(my);

}
my.invisible = on;
my.enable_impact = on;
my.enable_entity = on;
my.event = kill_them;

}