Attempts to invite a character to the selected event. If successful, the
CALENDAR_UPDATE_INVITE_LIST event fires indicating the character has been added to the invite list; otherwise the
CALENDAR_UPDATE_ERROR event fires containing a localized error message.
See also Calendar functions.
name- Name of a character to invite (