WoW:API TakeInboxMoney: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API TakeInboxMoney to API TakeInboxMoney without leaving a redirect)
 
(No difference)

Latest revision as of 04:47, 15 August 2023

WoW API < TakeInboxMoney


Take all money attached in a given letter in your inbox

TakeInboxMoney(index)


Parameters[edit]

Arguments[edit]

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

Returns[edit]

nil

Example[edit]

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