Conprint (Slash Command): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{SlashCommandArticle|command=conprint|options=string|note=Echo <string> to the console.}} | {{SlashCommandArticle|command=conprint|options=string|note=Echo <string> to the console.}} | ||
* '''String''' is | * '''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 | * 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>&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 <& and &>. 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 "Flight binds reset." | '''With enclosed quotation marks:''' | ||
/conprint "Flight binds reset." | |||
'''Without enclosing quotation marks:''' | |||
/conprint Flight<span style="color:purple">&nbsp;</span>binds<span style="color:purple">&nbsp;</span>reset. | |||
{{navbox | {{navbox Binds}} | ||
[[Category:Bind Commands]] | |||
[[Category:Slash Commands]] | |||
[[Category:Context Menu Commands]] | |||
[[Category:Communication Commands]] |
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
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!!!
approximatesHello, 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 binds reset.