View Full Version : How do I relaychannel to Raid Warning using Twobox toolkit?
LancerX
03-03-2008, 09:32 PM
I have been trying everything and cant seem to get this to work. I would love to have this relay to RW but not sure if this is possible. Anyone know if this can be done?
You wrote in the other thread that you tried to set the relaychannel to rw and party and so on. This function probably wants a ChatTypeID ('http://www.wowwiki.com/ChatTypeId'), like "RAID_WARNING". That should do it, but if you don't want all the messages in the /rw channel, or if it doesn't work for some reason, you can edit the file twoboxtoolkit.lua. Look for a function that looks like this:
function twoboxtoolkit:AUTOFOLLOW_END()
isBroken = true
if (isFollowing) then
--SendChatMessage("Follow is broken", "WHISPER", nil, self.db.profile.master);
if (self.db.profile.followwarning) then
twoboxtoolkit:relayMessage("Follow is broken")
end
isFollowing = false
end
end
And try replacing it with this:
function twoboxtoolkit:AUTOFOLLOW_END()
isBroken = true
if (isFollowing) then
SendChatMessage("Follow is broken", "RAID_WARNING");
--if (self.db.profile.followwarning) then
-- twoboxtoolkit:relayMessage("Follow is broken")
--end
isFollowing = false
end
end
LancerX
03-05-2008, 08:08 PM
You wrote in the other thread that you tried to set the relaychannel to rw and party and so on. This function probably wants a ChatTypeID ('http://www.wowwiki.com/ChatTypeId'), like "RAID_WARNING". That should do it, but if you don't want all the messages in the /rw channel, or if it doesn't work for some reason, you can edit the file twoboxtoolkit.lua. Look for a function that looks like this:
function twoboxtoolkit:AUTOFOLLOW_END()
isBroken = true
if (isFollowing) then
--SendChatMessage("Follow is broken", "WHISPER", nil, self.db.profile.master);
if (self.db.profile.followwarning) then
twoboxtoolkit:relayMessage("Follow is broken")
end
isFollowing = false
end
end
And try replacing it with this:
function twoboxtoolkit:AUTOFOLLOW_END()
isBroken = true
if (isFollowing) then
SendChatMessage("Follow is broken", "RAID_WARNING");
--if (self.db.profile.followwarning) then
-- twoboxtoolkit:relayMessage("Follow is broken")
--end
isFollowing = false
end
end
Super great idea, I tried it thought and I did not work any other ideas? Thanks again for the great advice.
vBulletin® v4.2.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.