can I somehow remove brackets for the name that is being displayed from items looted, in this code?
aura_env.exists = function(value)
if value == nil or value == "" then return false end
return true
end
aura_env.money = function(copper)
if not copper then copper = aura_env.moneyDiff() end
if not copper or copper == 0 then return end
local sign = "|cff00ff00+|r"
if copper < 0 then
copper = -copper
sign = "|cffff0000-|r"
end
return format("%s%s", sign, GetCoinTextureString(copper)), copper;
end
aura_env.get_currency_icon = function(copper)
if (copper) then
local copper_absolute = math.abs(copper)
-- if copper
if copper_absolute < 100 then return 133789 end
-- if silver
if copper_absolute < 10000 then return 133787 end
end
-- default (gold)
return 133785
end
aura_env.moneyDiff = function()
local diff = GetMoney() - aura_env.current_money;
aura_env.current_money = GetMoney()
return diff
end
aura_env.message = function(text,count, amount)
if not text then return nil end
return text..(count and ("|cff00ff00x"..count.."|r") or "")
end
aura_env.currency = function(text, count, amount)
if not text then return nil end
local color = count and count > 0 and "|cff00ff00+" or "|cffff0000"
return (count and (color.." "..count.."|r ") or "")
end```