Conprint (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 copies a message you have written and displays it in your '''System chat channel'''. It's a great command to use in a bind, macro, or popmenu to provide confirmation or feedback that a command was executed.  
* This command copies a message you have written and displays it in your '''System chat channel'''. It's a great command to use in a bind, macro, or popmenu to provide confirmation or feedback that a command was executed.  
* Blank spaces in the "string" or message part of this command can be replaced with the HTML code for a non-breaking space character '''<code>&amp;nbsp;</code>''' instead of enclosing the message within quotes, and will allow the command to process the entire string. Works in binds, macros, popmenus, and custom windows.
* Blank spaces in the "string" or message part of this command can be replaced with the HTML code for a non-breaking space character '''<code>&amp;nbsp;</code>''' instead of enclosing the message within quotes, and will allow the command to process the entire string. Works in binds, macros, popmenus, and custom windows.
* An alternate, and possibly easier, method to deal with the necessity to have the message text enclosed by quotes in a '''[[Popmenu (Slash Command)|popmenu]]''' or '''[[Custom_window (Slash Command)|custom window]]''' command is to enclose the entire concatenated command string with less-than/greater-than brackets and ampersands <&&nbsp;&nbsp;and&nbsp;&nbsp;&>. For example: <code><span style="color:blue"><&</span>emote dance$$conprint "Legendary dance activated!"<span style="color:blue">&></span></code>
* In a '''[[Popmenu (Slash Command)|popmenu]]''' or '''[[Custom_window (Slash Command)|custom window]]''' command, an alternate, and possibly easier, method to deal with the necessity to have the message text enclosed by quotes  is to enclose the entire concatenated command string with less-than/greater-than brackets and ampersands <&&nbsp;&nbsp;and&nbsp;&nbsp;&>. For example: <code><span style="color:blue"><&</span>emote dance$$conprint "Legendary dance activated!"<span style="color:blue">&></span></code>
* The basic color for these /conprint system messages is pink, rather than the normal green for the System chat channel. The color of the message text can be changed with a color tag. For example, <code>'''Hello, let's <color Red>PARTY!!!'''</code> approximates <code><span style="color:magenta">'''Hello, let's</span> <span style="color:red">PARTY!!!'''</span></code>. However, the color takes the form of a gradient that blends from pink at the bottom of the text to whatever color you specify at the top. For more information about coloring text see [[Chat Bubble Customization]].
* The basic color for these /conprint system messages is pink, rather than the normal green for the System chat channel. The color of the message text can be changed with a color tag. For example, <code>'''Hello, let's <color Red>PARTY!!!'''</code> approximates <code><span style="color:magenta">'''Hello, let's</span> <span style="color:red">PARTY!!!'''</span></code>. However, the color takes the form of a gradient that blends from pink at the bottom of the text to whatever color you specify at the top. For more information about coloring text see [[Chat Bubble Customization]].


Line 11: Line 11:
  '''With enclosed quotation marks:'''
  '''With enclosed quotation marks:'''
       /conprint "Flight binds reset."
       /conprint "Flight binds reset."
  '''Without enclosing quotation marks:'''
  '''Without enclosing quotation marks:'''
       /conprint Flight&amp;nbsp;binds&amp;nbsp;reset.
       /conprint Flight<span style="color:purple">&amp;nbsp;</span>binds<span style="color:purple">&amp;nbsp;</span>reset.





Latest revision as of 08:14, 25 June 2023

/conprint string

Echo <string> to the console.

  • String is the message or text you would like to be displayed.
  • This command copies a message you have written and displays it in your System chat channel. It's a great command to use in a bind, macro, or popmenu to provide confirmation or feedback that a command was executed.
  • Blank spaces in the "string" or message part of this command can be replaced with the HTML code for a non-breaking space character &nbsp; instead of enclosing the message within quotes, and will allow the command to process the entire string. Works in binds, macros, popmenus, and custom windows.
  • In a popmenu or custom window command, an alternate, and possibly easier, method to deal with the necessity to have the message text enclosed by quotes is to enclose the entire concatenated command string with less-than/greater-than brackets and ampersands <&  and  &>. For example: <&emote dance$$conprint "Legendary dance activated!"&>
  • The basic color for these /conprint system messages is pink, rather than the normal green for the System chat channel. The color of the message text can be changed with a color tag. For example, Hello, let's <color Red>PARTY!!! approximates Hello, let's PARTY!!!. However, the color takes the form of a gradient that blends from pink at the bottom of the text to whatever color you specify at the top. For more information about coloring text see Chat Bubble Customization.


Example

With enclosed quotation marks:
     /conprint "Flight binds reset."

Without enclosing quotation marks:
     /conprint Flight&nbsp;binds&nbsp;reset.