Furious-2.1

From WowAce Wiki
Jump to: navigation, search
Summary
Furious-2.1
Libraries for the Furious raid mods.
TOC 2.1 (20100)
Category Libraries
Author Strangeteeth
Details
OptionalDeps Ace2
Links
Betas Ace SVN Zip
Changelog FishEye

Furious-2.1 is a library of common code for the Furious line of addons. It contains two files -- FuriousChat.lua and FuriousGuild.lua.

FuriousChat.lua

FuriousChat.lua is a common chat functions -- nothing to see here :P

FuriousGuild.lua

FuriousGuild.lua contains code to track the guild roster and mains/alts through public/officer notes. One can get a list of alts for a character by using AltInfo(<name>) or the main for an alt using MainInfo(<name>), finally on can check to see if any mains/alts for a specific caharacter are online using MainAltOnline(<name>). To specify a main or a list of alts one needs to set specific strings in the public or officer note of a character:

  • To specify an alt's main: set the following in the public or officer note: main:<name of main> -- do not put the angled brackets in the string. For example, to specify the alt Fred's main as Foo the string would be main:Foo and it would be placed in Fred's public or officer note.
  • To specify a list of alts for a main: set the following in the public or officer note: alt:<name of alt1>,<name of alt2>,... -- do not put the angled brackets in the string. For example, to specify the following alts, Fred and Bar, for the main Foo the string would be alt:Fred,Bar and it would be placed in Foo's public or officer note.