Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 733 Bytes

File metadata and controls

27 lines (21 loc) · 733 Bytes

Guild

A_Admin.SetGuildInfo(name, rank, numMembers)

Configures the player's guild membership.

  • name string -- Guild name
  • rank string -- Player's rank title within the guild
  • numMembers number -- Total guild member count
  • Affects: GetGuildInfo("player") -- returns name, rank, realm; GetNumGuildMembers()
  • Example:
A_Admin.SetGuildInfo("Knights of the Ebon Blade", "Champion", 42)
local name, rank = GetGuildInfo("player")
-- name="Knights of the Ebon Blade", rank="Champion"

A_Admin.ClearGuild()

Removes the player from any guild.

  • Affects: GetGuildInfo("player") returns nil
  • Example:
A_Admin.ClearGuild()
print(GetGuildInfo("player"))   -- nil