WoW API: TakeInboxMoney

WoW API < TakeInboxMoney


Take all money attached in a given letter in your inbox

TakeInboxMoney(index)


ParametersEdit

ArgumentsEdit

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

ReturnsEdit

nil

ExampleEdit

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