Emailsendattachment (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Slash command==
==Slash command==
{{SlashCommandArticle|command=emailsendattachment|options=name subject influence attachment_type inventory_location message|note=Send message with an attachment.}}
{{SlashCommandArticle|command=emailsendattachment|options=name subject influence attachment_type inventory_location message|note=Send message with an attachment.}}
<span style="color:red">Currently this command appears broken.</span>


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.
Line 19: Line 17:
   12 - Recipes
   12 - Recipes


When composing the slash command, all 6 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>.  
* 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").
'''NOTE:''' 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.  
* Do '''not''' enclose the ''message'' with double quotes. Doing so will prevent any attachment from sending.
 
* Long '''subjects''' with spaces need to be enclosed by double quotes ("Long Subject").
* The '''message''', oddly, does not require it be enclosed by double quotes. However, the game does accept double quotes if used in the message (and removes them in the sent message).




==Tips==
==Tips==
* To make finding the inventory location of an item easier, delete or move unnecessary items from your character before you start counting items.
* To make finding the inventory location of an item easier, delete or move unnecessary items from your character before you start counting items.
* The [[The Players' Guide to the Cities/User Interface/Email Window|email window]] in game accepts long names with spaces, and is in general more reliable, less buggy, and easier to use for the average player.
* The [[The Players' Guide to the Cities/User Interface/Email Window|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==
==Example==
  /emailsendattachment @SuperBob "Some Moola" 1000000 0 0 "Have a great day!"
  /emailsendattachment @SuperBob "Some Moola" 1000000 0 0 Have a great day!

Revision as of 05:47, 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, counting from 1.
  • message = the message you'd like to say
Attachment Types:
   2 - Inspirations
  10 - Enhancements
  11 - Salvage
  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 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.


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!