Monolith DKP

Monolith DKP

687k Downloads

Request: Standby Opt In by Whisper

XScorpion2 opened this issue · 1 comments

commented

Currently managing a cross guild raid so the GUILD message requirement for standby opt in doesn't work for non-guild members that are on standby to opt in.

commented

I've hacked this in by changing the block of code at Line 236 of init.lua to the following, tested and seems to work just fine:

	elseif event == "CHAT_MSG_RAID" or event == "CHAT_MSG_RAID_LEADER" then
		MonDKP:CheckOfficer()
		--if (core.BidInProgress or string.find(arg1, "!dkp") == 1 or string.find(arg1, "!dkp") == 1) and core.IsOfficer == true then
		--	MonDKP_CHAT_MSG_WHISPER(arg1, ...)
		--end
		if core.IsOfficer then
			if (core.BidInProgress or string.find(arg1, "!dkp") == 1 or string.find(arg1, "!dkp") == 1) then
				MonDKP_CHAT_MSG_WHISPER(arg1, ...)
			elseif string.find(arg1, "!standby") == 1 and core.StandbyActive then
				MonDKP_Standby_Handler(arg1, ...)
			end
		end
	elseif event == "GUILD_ROSTER_UPDATE" then