Log in

View Full Version : Frilly reports



Abyssal
08-18-2008, 11:28 PM
Any addons around that'd let me type something and have it report back how much gold each alt has atm in gchat?
ie: type "/p $gold" or something

Durability, reagents, etc would be awesome too

Tasty
08-19-2008, 12:11 AM
It would take up another space but you could make a macro for your alts.
/script SendChatMessage("[Money Pouch] contains "..(GetMoney()/10000).." gold.");

Abyssal
08-19-2008, 09:08 PM
It would take up another space but you could make a macro for your alts.
/script SendChatMessage("[Money Pouch] contains "..(GetMoney()/10000).." gold.");

excellent, exactly what i wanted.... is there any way to truncate the number to two decimals?

Blubber
08-19-2008, 09:18 PM
It would take up another space but you could make a macro for your alts.
/script SendChatMessage("[Money Pouch] contains "..(GetMoney()/10000).." gold.");

excellent, exactly what i wanted.... is there any way to truncate the number to two decimals?



/script SendChatMessage("[Money Pouch] contains "..string.format("%.2f", (GetMoney()/10000)).." gold.");

Gaffy
08-20-2008, 11:16 PM
It would take up another space but you could make a macro for your alts.
/script SendChatMessage("[Money Pouch] contains "..(GetMoney()/10000).." gold.");

excellent, exactly what i wanted.... is there any way to truncate the number to two decimals?



/script SendChatMessage("[Money Pouch] contains "..string.format("%.2f", (GetMoney()/10000)).." gold.");
Change that to
/script SendChatMessage("[Money Pouch] contains "..string.format("%.2f", (GetMoney()/10000)).." gold.","PARTY"); if you don't want to let everyone know how much gold you have.

Abyssal
08-21-2008, 05:51 PM
ya, I knew how to do PARTY messages, it's in there :)