WoW API: TakeInboxMoney

From AddOn Studio
Revision as of 09:28, 15 September 2006 by WoWWiki>WoWWiki-Lwb
Jump to navigation Jump to search

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;