Mark

From xat wiki
Revision as of 20:12, 13 August 2020 by Stif (talk | contribs) (It's part of Allpowers)
Example of Mark power.

Mark allows you to set keywords to highlight in private and main chats, in any colors you choose.

You cannot see the highlighted words if you type them yourself. Another user must type the highlighted words that you set.

Usage

To set keywords to highlight, type "$mark=keyword1,keyword2" into the chatbox. These keywords must be at least 3 letters.

You can use a different highlight color for each word by adding a hex color code after it.

For example, if you type "$mark=she,the,ask,you,hey#ff0000,guy#0000ff", the word "hey" would be highlighted in red and the word "guy" would be highlighted in blue. The other words (she, the, ask, you) would be highlighted in yellow, the default color.

If someone types a word longer than 3 letters into the chat that contains your keyword, the entire word will be highlighted. For example, if you set the keyword "fre" to be the color blue, then the words "free", "freelancer", "fred", and "frequent" would all be highlighted in blue too.

Combining words

Combined words, e.g. "hey-fred", would be red (since "hey" is set to red in our example).

When combining two words that have been defined as two different colors, the one that was defined first will be the color chosen to highlight the entire word.

For example, if you type "$mark=fre#ff0000,hey#0000ff", and someone types "Hey-Fred", then the entire phrase would be highlighted in red, since it was defined first.