Conprint (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Slash command==
{{SlashCommandArticle|command=conprint|options=<string>|note=Echo <string> to the console.}}
{{SlashCommandArticle|command=conprint|options=string|note=Echo <string> to the console.}}


* '''String''' is whatever you'd like to type.
* '''String''' is the message or text you would like to be displayed. The message must not contain any blank spaces or must be enclosed with double quotes (" ").
* This command copies a message you have written and displays it in your '''System chat channel'''.
* 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 by 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.
* 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.
* 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]].




==Example==
==Example==
  /conprint "Look, Ma! I'm typing to myself!"
  '''With enclosed quotation marks:'''
      /conprint "Flight binds reset."
'''Without enclosing quotation marks:'''
      /conprint Flight<span style="color:purple">&amp;nbsp;</span>binds<span style="color:purple">&amp;nbsp;</span>reset.




{{navbox Communication}}
{{navbox Binds}}
[[Category:Bind Commands]]
[[Category:Slash Commands]]
[[Category:Context Menu Commands]]
[[Category:Communication Commands]]

Latest revision as of 02:26, 12 November 2024

/conprint <string>

Echo <string> to the console.

  • String is the message or text you would like to be displayed. The message must not contain any blank spaces or must be enclosed with double quotes (" ").
  • 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.