It would be nice to see the sticky follow fixed.
You can disable the You are now my Master messages by opening WoW\Interface\Addons\twoboxtoolkit\twoboxtoolkit.l ua in a text editor, searching for lines containing You are now my Master and commenting them out with -- (two hyphens).
SendChatMessage("You are now my master", "WHISPER", nil, self.db.profile.master);
becomes
--SendChatMessage("You are now my master", "WHISPER", nil, self.db.profile.master);
EDIT:
OK played with the Code a bit and I may have sorted the other 2 issues I had with it, I wanted to disable sticky follow on the master and relay messages on the master. Seems to be working but YMMV.
Code:Search the file for function twoboxtoolkit:GetMaster() Then add a function below it so it now reads function twoboxtoolkit:GetMaster() return self.db.profile.master end function twoboxtoolkit:IsMaster() return (string.lower(UnitName("Player")) == twoboxtoolkit:GetMaster()) end Change function twoboxtoolkit:PLAYER_REGEN_ENABLED() if (self.db.profile.sticky and lastFollow ~= nil and isBroken) then FollowUnit(lastFollow); isBroken = false end end To function twoboxtoolkit:PLAYER_REGEN_ENABLED() if (self.db.profile.sticky and lastFollow ~= nil and isBroken and not twoboxtoolkit:IsMaster()) then FollowUnit(lastFollow); isBroken = false end end Change the function twoboxtoolkit:relayMessage(msg)so that it starts function twoboxtoolkit:relayMessage(msg) if (twoboxtoolkit:IsMaster()) then return end if (self.db.profile.relaychannel == nil or string.len(self.db.profile.relaychannel) == 0) then
Connect With Us