WoW:API TakeInboxMoney: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
<!-- If it helps, include an example here, though it's not required if the usage is self-explanatory --> | <!-- If it helps, include an example here, though it's not required if the usage is self-explanatory --> | ||
for i=GetInboxNumItems(), 1, -1 do | for i=GetInboxNumItems(), 1, -1 do | ||
TakeInboxMoney(i); | TakeInboxMoney(i); -- BUG IN CHINA GAME. if number > 1, takeInboxMoney(N) = InboxMoney(1); | ||
end; | end; |
Revision as of 09:28, 15 September 2006
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;