TakeInboxMoney

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Take the attached money from the mailbox message at index.

TakeInboxMoney(index)

Arguments

index
number - a number representing a message in the inbox

Example

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