Rock5's Mail Mods
Rock5's Mail Addons provide you with a way to send specific items, using a number of different qualifying factors, as well as empty the mailbox.
Contents
Functions
UMM_SendByNameOrId
Use this function to send all items of specific names or ids.
Arguments
Recipient: The person who you intend to send the mail message to.
ItemTable: Accepts a table {"Golden Egg","Beetle Leg"}
of items to send to the Recipient.
Example
The following example sends Player2 all "Golden Egg"s and "Beetle Leg"s.
UMM_SendByNameOrId("player2", {"Golden Egg","Beetle Leg"})
Returns
Unknown
UMM_SendByStatNumber
Use this to send items with a given number of stats.
Arguments
Recipient: The person who you intend to send the mail message to.
StatNo: (optional) [Default: 3] This is the number of stats an item must have to be sent to Recipient.
Example
The following example sends Player2 all items with 3 or more stats.
UMM_SendByStatNumber("Player2")
The following example sends Player3 all items with 4 or more stats.
UMM_SendByStatNumber("Player2", 4)
Returns
Unknown
UMM_SendByQuality
Use this function to send items of a particular quality or better.
Arguments
Recipient: The person who you intend to send the mail message to.
Quality: This argument is used to select what quality of items to send to the Recipient.
Example
The following example sends Player2 all blue gear or better.
UMM_SendByQuality("Player2", 2)
Returns
Unknown
UMM_SendMoney
Use this function to send an amount of gold.
Arguments
Recipient: The person who you intend to send the mail message to.
Amount: A number of gold to Recipient or "all" to send all of the characters money.
Example
The following example sends Player2 500 gold.
UMM.SendMoney("Player2", 500)
The following example sends Player3 all gold.
UMM.SendMoney("Player3", "all")
Returns
Unknown
UMM_SendAdvanced
Use this function as a general purpose sending function. All included terms must match.
UMM_SendByNameOrId (Recipient, ItemTable)
Use this function to send all items of specific names or ids.
Arguments
Recipient: The person who you intend to send the mail message to.
NameOrId: Accepts a table {"Golden Egg","Beetle Leg"}
of items to send to the Recipient.
Quality: This argument is used to select what quality of items to send to the Recipient.
ReqLevel: The level required to wear or use the item. [UNVERIFIED]
Worth: The item's value in gold, to a vendor. [UNVERIFIED]
ObjType: UNKOWN [UNVERIFIED]
Example
The following example sends Player2 all items level 54 or higher of blue or better quality.
UMM_SendAdvanced("Player2",nil , 2, 54)
Returns
Unknown
UMM_TakeMail
This function removes all mail from an open mailbox.
Arguments
None.
Example
The following example takes all the mail from the mailbox.
UMM_TakeMail()
Returns
Unknown
Installation Instructions
Place Part 1 (Modified Ultimate MailMod) in your Runes of Magic/Interface/Addons folder.
Place Part 2 (addon_Rock5s_Mail_Functions.lua) in your MicroMacro/scripts/rom/userfunctions folder.