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)
 
(One intermediate revision by one other user not shown)
Line 23: Line 23:
<!-- If it helps, include an example here, though it's not required if the usage is self-explanatory -->
<!-- If it helps, include an example here, though it's not required if the usage is self-explanatory -->
  for i=GetInboxNumItems(), 1, -1 do  
  for i=GetInboxNumItems(), 1, -1 do  
   TakeInboxMoney(i);  
   TakeInboxMoney(i); -- BUG IN CHINA GAME. if number > 1, takeInboxMoney(N) = InboxMoney(1);
  end;
  end;

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;