Returns the player's moderator status for an event


See also Calendar functions.

Signature:

modStatus = CalendarContextInviteModeratorStatus([monthOffset,] day, index)

Arguments:

  • monthOffset - Month containing an event relative to the calendar's currently displayed month (number)

    • -1 - Month preceding the calendar's current month
    • 0 - The calendar's current month (i.e. same month as CalendarGetMonth())
    • 1 - Month after the calendar's current month
    • nil - Use the event selected by CalendarContextSelectEvent and ignore further arguments

  • day - Day of the month containing an event (number)

  • index - Index of an event on the given day (from 1 to CalendarGetNumDayEvents()) (number)

Returns:

  • modStatus - The player's level of authority for the event, or "" if not applicable (number)
    • CREATOR - The player is the original creator of the event
    • MODERATOR - The player has been granted moderator status for the event