API GetGuildTag
From Vendetta Lua
Jump to navigationJump to search
GetGuildTag
Definition:
GetGuildTag(int charid) -> string tag
Description:
get guild tag of self or another character.
Arguments:
charid character id or nil to get self's guild tag.
Returns:
tag string containing guild tag or empty string if character not known or not in a guild.
Example:
local guildtag = GetGuildTag()
if guildtag ~= "" then
print('['..guildtag..'] You are a member of the guild '..(GetGuildName() or guildtag)..'\n')
else
print('Not a member of a guild.\n')
end</source>