When using the default.pl it only effects NPCs who don't already have a script, so perhaps when you tried it you were killed by an NPC who already had a script of his own, therefore the EVENT_SLAY did not take precedence from the default.pl you had it contained in.
How the script chain of command works:
specific npc.pl then,
folder default.pl then,
global default.pl.
So if you have a default.pl already in a folder for a zone, a global default.pl wouldnt affect anything in that zone, and likewise for an NPC's specific .pl script. Anything you have in the default.pl for the zone wouldnt affect anything for that specific NPC.
I hope this is understandable and you figure out what you're looking for.
|