AddOn Studio Wiki
Advertisement

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;
Advertisement