Quote Originally Posted by 'Djarid',index.php?page=Thread&postID=41408#post41 408
if you modify silentwhisper.lua, changing the whisper function to the following

Code:
function Whisper(Message, sender)
	if !isPartyLeader then
		local rname
		local leader = "party"..GetPartyLeaderIndex()
		inInstance, instanceType = IsInInstance()
		local msg = "Sent by "..sender..": "..Message
		if mbLeader == "party" then
			if instanceType == "pvp" then
				rname = GetUnitName("focus", false)
			else
				rname = GetUnitName(leader, false)
			end
		elseif mbLeader == "focus" then
			rname = GetUnitName("focus", false)
		else 
			rname = nameLeader
		end
		SendChatMessage(msg , "WHISPER", "Common", rname);
	end
end
this should allow boxers who use partyleader or focus to use the addon.

add a line near the beginning declaring nameLeader = the named character of the leader if required.

NOTE: for people using partyleader, this takes battlegrounds into consideration and will use focus for leader definition instead.
It also checks to see if the character is leader and only resending whispers.
And it will send the originator of the message
Hey Djarid and Falkor, I tried replacing whisper function with the above code, however no whispers appear to be forwarding after I do so even including manually entering the primary character name in nameLeader as an alternate... Anything you can find in this code to make it work?

Alternately modifying the original silent whisper code to perform if/else checking to assign rname to be one of 3 characters by checking for which ones exists and forwarding whispers on from there... This would serve my purposes as I have 3 different toons that could be leading my 5 box(I have no clue on the syntax its been over 10 years since I took any sort of programming classes).

RName = kylarina (exists?), Else maivis (exists?), irinyes, and so on...