WoW API: TakeInboxMoney

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API TakeInboxMoney to API TakeInboxMoney without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < TakeInboxMoney


Take all money attached in a given letter in your inbox

TakeInboxMoney(index)


Parameters

Arguments

(index)
index
Number - a number representing a message in the inbox

Returns

nil

Example

for i=GetInboxNumItems(), 1, -1 do 
  TakeInboxMoney(i); -- BUG IN CHINA GAME. if number > 1, takeInboxMoney(N) = InboxMoney(1);
end;