// This is the code for the hook we made earlier public static void UndeadSlayerTitles_KilledByEvent(BaseCreature creature, PlayerMobile player) { // Test for the creature type(s) that are valid for these titles if (creature is RottingCorpse || creature is Zombie) { // First create an instance of your slayer title (since this routine is static) UndeadSlayerTitles titleSystem = new UndeadSlayerTitles(); // Increment the counter and the core does the rest titleSystem.IncrementSlayerCount(player); } }