From the NannyMUD documentation
2002-12-15
NAME
changed_gender_hook - Hook gender changesLOCATION
/obj/living_functionsAVAILABILITY
Any object can register this hook.DESCRIPTION
'changed_gender_hook' is called after the gender has been changed in a living object. ARGUMENTS changed_gender_hook( ({ New gender, // This is an integer. Old gender // This is an integer }), player_object )