Emailsendattachment (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
This command can send a message, a message with [[Inf|influence]], a message with an attachment (such as salvage, enhancements, etc.), or all of the above.
This command can send a message, a message with [[Inf|influence]], a message with an attachment (such as salvage, enhancements, etc.), or all of the above.


* ''name'' = either a character name or [[Global Chat Handle|global name]] of a player (no spaces allowed)
::''name'' = either a character name or [[Global Chat Handle|global name]] of a player (no spaces allowed)
* ''subject'' = the subject of the email
::''subject'' = the subject of the email
* ''influence = in-game money expressed in numbers
::''influence = in-game money expressed in numbers
* ''attachment_type'' = the type of attachment expressed as a number
::''attachment_type'' = the type of attachment expressed as a number
* ''inventory_location'' = the attachment item's location in the corresponding inventory window, counting from 1.
::''inventory_location'' = the attachment item's location in the corresponding inventory window (see below).
* ''message'' = the message you'd like to say (no quotes)
::''message'' = the message you'd like to say (no quotes)


'''Attachment Types:'''
* 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 <code>0</code>.
* 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
     2 - Inspirations
   10 - Enhancements
   10 - Enhancements
Line 17: Line 22:
   12 - Recipes
   12 - Recipes


* 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 <code>0</code>.
==Inventory Locations==
* 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.
{| class=wikitable style="text-align: center;"
* Long ''subjects'' with spaces need to be enclosed by double quotes ("Long Subject").
|+ Inspiration Inventory Locations
* Do '''not''' enclose the ''message'' with double quotes. Doing so will prevent any attachment from sending.
|-
! style=max-width:4em| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!! style=max-width:4em|  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!! style=max-width:4em| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!! style=max-width:4em|  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!! style=max-width:4em|  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
!! style=max-width:5em| 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, 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.  





Revision as of 07:04, 24 June 2022

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, 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!