Returns the amount of time since a guild member was last online. Only returns valid data after calling GuildRoster() and the following GUILD_ROSTER_UPDATE event has fired.


See also Guild functions.

Signature:

years, months, days, hours = GetGuildRosterLastOnline(index)

Arguments:

  • index - Index of a member in the guild roster (between 1 and GetNumGuildMembers()), or 0 for no selection (number)

Returns:

  • years - Number of years since the member was last online (number)
  • months - Number of months since the member was last online (number)
  • days - Number of days since the member was last online (number)
  • hours - Number of hours since the member was last online (number)