From the NannyMUD documentation
2001-08-12
NAME
changed_alignment_hook -AVAILABILITY
/obj/playerDESCRIPTION
This function is called after the alignment has been changed. ARGUMENTS changed_alignment_hook( ({ Alignment, Old alignment, The object doing the change }) the player )NOTE
The object doing the change might be zero. Be sure to check everything thorougly.SEE ALSO
block_changed_alignment_hook in hooks/block_changed_alignment_hook