Mark/th

From xat wiki
Revision as of 16:34, 29 May 2018 by WaiZaDotCom (talk | contribs) (Created page with "ตัวอย่าง ถ้าคุณพิมพ์ '''"$1=เธอ,ฉัน,เขา,คุณ,เฮ้#ff0000,เพื่อน#0000ff"''', คำว่า "เ...")
ตัวอย่าง Mark power.

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

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

การใช้งาน

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

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

ตัวอย่าง ถ้าคุณพิมพ์ "$mark=เธอ,ฉัน,เขา,คุณ,เฮ้#ff0000,เพื่อน#0000ff", คำว่า "เฮ้" จะถูกเน้นด้วยสีแดง ในขณะที่คำว่า "เพื่อน" จะถูกเน้นด้วยสีฟ้า คำอื่นๆ (เธอ,ฉัน,เขา,คุณ)จะถูกเน้นด้วยสีเหลืองซึ่งเป็นสีตั้งต้น

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.