From the NannyMUD documentation
2001-02-15
wedd - Keep track of whom is married to whom.
This daemon keeps tracks of whom is married to whom. It is used by the priest in the church and by the general wedding ring.
query_spouse query_pairs
marry divorce
NAME
marry -SYNTAX
void marry(string player1, string player2, string initiator)DESCRIPTION
This function registers the marriage between 'player1' and 'player2'.
FUNCTION
NAME
divorce -SYNTAX
void divorce(string player)DESCRIPTION
This function divorces 'player' from his/her/its spouse.
FUNCTION
NAME
query_spouse -SYNTAX
mixed *query_spouse(string who)DESCRIPTION
This function allows one to check if someone is married by returning an appropriate array.RETURN VALUES
An array of the form ({ "spouse", "initiator", "date-string" })
FUNCTION
NAME
query_pairs -SYNTAX
mixed query_pairs()DESCRIPTION
This function returns a copy of the database.RETURN VALUES
An array of arrayer, in the format ({ ({"spouse11", "spouse12", "initiator1", "date-string1" }), ({"spouse21", "spouse22", "initiator2", "date-string2" }), ... })