Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API TakeInboxMoney

From WoW Classic Wiki


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;