API TakeInboxMoney

From Wowpedia
Jump to: navigation, search


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;