Automatically takes any attached items and money from a mail. If the mail does not have body text (which can be saved as a permanent copy), also deletes the mail.


See also Mail functions.

Signature:

AutoLootMailItem(mailID)

Arguments:

  • mailID - Index of a mail in the player's inbox (between 1 and GetInboxNumItems()) (number)