I'm trying to edit the printed message for looting that includes the "X money deposited to guild bank" text, but can't seem to find the string in question. I've tried CHAT_MSG_MONEY and LOOT_MONEY but that doesn't do anything, and I've searched here and found nothing related to that message.
Anyone have any idea as to which string I need to edit, or where I may have gone wrong with CHAT_MSG_MONEY / LOOT_MONEY? Thanks!
local GOLD = GOLD_AMOUNT:gsub("%%d", "%(%%d+%)")
local SILVER = SILVER_AMOUNT:gsub("%%d", "%(%%d+%)")
local COPPER = COPPER_AMOUNT:gsub("%%d", "%(%%d+%)")
function addon:CHAT_MSG_MONEY(event, msg, ...)
local _, guild = msg:match( "(.+)%((.+)%)" )
local gold = guild:match(GOLD) or 0
local silver = guild:match(SILVER) or 0
local copper = guild:match(COPPER) or 0
local total = (gold*1000) + (silver*100) + copper
print( GetCoinTextureString( total ) )