Conprint (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
* '''String''' is the message or text you would like to be displayed.
* '''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.  
* 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>&_n_b_s_p_;</code> (without the underscores) instead of enclosing the message within quotes, and will allow the command to process the entire string. Especially useful for popmenus, but also works in binds and macros.
* 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 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>
* 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>
* 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]].




==Example==
==Example==
  /conprint "Flight binds reset."
  '''With enclosed quotation marks:'''
      /conprint "Flight binds reset."
'''Without enclosing quotation marks:'''
      /conprint Flight&amp;nbsp;binds&amp;nbsp;reset.





Revision as of 08:06, 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.
  • An alternate, and possibly easier, method to deal with the necessity to have the message text enclosed by quotes in a popmenu or custom window command 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.