Forums » Suggestions
Event: CREDITS_TRANSFERRED
I would like to see a new event added to the Lua environment that will report on credit transfers (credits and debits). This would allow plugins to be made that can more easily track credit transfers without having to attempt to parse output from these transactions in the chatlog.
The return value should be a table containing:
* Amount of credits transferred
* Reason for the transfer
Amount of credits transferred should be represented by either
* a positive or negative value
* two table values
1) a positive number indicating the number of credits transferred
2) a string value indicating CREDIT or DEBIT
Reason for transfer should be represented by either
* a concatenated string indicating the quantity -- if applicable -- and the reason (Bounty: <name>, 4x Charge Cannon)
* two table values
1) a string indicating the reason/item for the transfer
2) a number indicating the quantity of the item/reason obtained by the transfer.
Examples
{-300000, "Transferred to <name"}
{300000, "Transferred from <name>"}
{-12000, "4x Charge Cannon"}
{1000000, "Bounty: <name>"}
{1350, "DEBIT", "Warthog Mk2", 1}
{300000, "CREDIT", "Transferred from <name"}
The return value should be a table containing:
* Amount of credits transferred
* Reason for the transfer
Amount of credits transferred should be represented by either
* a positive or negative value
* two table values
1) a positive number indicating the number of credits transferred
2) a string value indicating CREDIT or DEBIT
Reason for transfer should be represented by either
* a concatenated string indicating the quantity -- if applicable -- and the reason (Bounty: <name>, 4x Charge Cannon)
* two table values
1) a string indicating the reason/item for the transfer
2) a number indicating the quantity of the item/reason obtained by the transfer.
Examples
{-300000, "Transferred to <name"}
{300000, "Transferred from <name>"}
{-12000, "4x Charge Cannon"}
{1000000, "Bounty: <name>"}
{1350, "DEBIT", "Warthog Mk2", 1}
{300000, "CREDIT", "Transferred from <name"}