Mark/th

From xat wiki
Revision as of 16:22, 29 May 2018 by WaiZaDotCom (talk | contribs) (Created page with "คุณสามารถใช้สีที่แตกต่างกันในการเน้นคำแต่ละคำได้โดยการต่อท...")
ตัวอย่าง Mark power.

Mark จะให้คุณเลือกข้อความที่ต้องการเน้นให้เห็นชัดทั้งในการคุยส่วนตัวและในห้องหลัก ด้วยสีที่เราเลือก.

คุณไม่สามารถดูคำที่ไฮไลต์ถ้าคุณด้วยตัวเอง ผู้ใช้รายอื่นจะต้องพิมพ์คำที่ไฮไลต์ที่คุณตั้งค่าไว้.

การใช้งาน

การตั้งค่า ข้อความที่จะเน้น พิมพ์ "$mark=keyword1,keyword2" ในแชทบ็อกซ์. คำหลักเหล่านี้จะต้องมีอย่างน้อย 3 ตัวอักษร.

คุณสามารถใช้สีที่แตกต่างกันในการเน้นคำแต่ละคำได้โดยการต่อท้ายคำนั้นด้วยรหัสเลขฐานสิบหกสำหรับสีที่ต้องการ

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.