/
} else { |
if (!$DBName[1]) $DBName[1] = "DKP"; |
$pools[1] = $DBName[1]; |
$events[1] = $DBName[1]; |
$singlepool = true; |
} |
foreach ($pools as $pluspoolnum => $poolname) { |
MorgDKP = AceLibrary("AceAddon-2.0"):new("AceEvent-2.0", "AceHook-2.1", "AceConsole-2.0","AceComm-2.0", "AceDB-2.0") |
MorgDKP.version = "7.00" |
MorgDKP.version = "7.01" |
MorgDKP.commPrefix = "MorgDKP" |
MorgDKP.commVersion = 6.2 |
## Interface: 20400 |
## Author: Morgalm & Fryguy |
## Title: MorgDKP - |cffffffffv|r|cff00ff007.00|r |
## Title: MorgDKP - |cffffffffv|r|cff00ff007.01|r |
## Notes: Inspects all members of raid and saves in database, as well as lists people's dkp values |
## DefaultState: 1 |
## SavedVariables: MorgDKPDB, MorgDKPFuBarDB |
function MorgDKP:OnWaitWhisper(sender, action, member) |
action = string.upper(action) |
if string.upper(sender) == string.upper(member) then member = nil end |
local POOL = self.db.account.defaults.raid |
local main = self:CheckforAlias(sender, POOL) |
if action == "WAIT" or action == "WAIT+" then |