Emailsendattachment (Slash Command)

From Unofficial Homecoming Wiki
Revision as of 07:22, 24 June 2022 by BlackSpectre (talk | contribs)
Jump to navigation Jump to search

Slash command

/emailsendattachment name subject influence attachment_type inventory_location message

Send message with an attachment.

This command can send a message, a message with influence, a message with an attachment (such as salvage, enhancements, etc.), or all of the above.

name = either a character name or global name of a player (no spaces allowed)
subject = the subject of the email
influence = in-game money expressed in numbers
attachment_type = the type of attachment expressed as a number
inventory_location = the attachment item's location in the corresponding inventory window (see below).
message = the message you'd like to say (no quotes)
  • When composing the slash command, all 6 arguments (variables) need to be used with a space in-between each, and placed in the exact sequence as noted above (even if you're only doing one thing). If you don't want to send an item, merely type 0.
  • The email slash commands do not like spaces in either character or global names. Using a name with spaces in it can potentially cause the email system to lock up for the character that sent the email, or otherwise cause trouble for an extended period of time. It's a bug.
  • Long subjects with spaces need to be enclosed by double quotes ("Long Subject").
  • Do not enclose the message with double quotes. Doing so will prevent any attachment from sending.

Attachment Types

   2 - Inspirations
  10 - Enhancements
  11 - Salvage
  12 - Recipes

Inventory Locations

Inspiration Inventory Locations
     0           1           2           3           4      Columns
3 3 3 3 3
2 2 2 2 2
1 1 1 1 1
0 0 0 0 0

The inventory location for Inspirations is expressed as a 2-digit number, where the first digit to the left is the column number (starting from zero on the far left), and the second digit is the row number (starting from zero at the bottom). For example, "12" would refer to the inspiration located in column #1, row #2.


Tips

  • To make finding the inventory location of an item easier, delete or move unnecessary items from your character before you start counting items.
  • The email window in game accepts long names with spaces, and is in general more reliable, less buggy, and easier when sending any type of attachment other than influence.


Example

/emailsendattachment @SuperBob "Some Moola" 1000000 0 0 Have a great day!