Dumb Questions for Smart People: Colors, Fonts, New Lines

Post Reply
Acarion
Posts: 4
Joined: Tue Sep 07, 2010 2:50 am

Dumb Questions for Smart People: Colors, Fonts, New Lines

Post by Acarion »

I would like to echo to myself something along the lines of
echo("Word1 Word2 Word3")
in response to a known triggering line, where Word1-3 are unchanging (i.e. NOT variables or anything like that). My question is this: How can I make each Word# a different color (different foreground color, same background color of black) and how can I make them all bold? Finally, is it possible to make a triggered echo start on a new line such that something like
You are paralyzed. (paralysis+)
becomes
You are paralyzed.
(paralysis+)
Where "You are paralyzed." is the matched trigger and "(paralysis+)" is the triggered echo? Thanks in advance for any clarification you can provide on this issue!

--Acarion

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: Dumb Questions for Smart People: Colors, Fonts, New Line

Post by Vadi »

Use \n inside an echo for a new line, and cecho("<red>word1 <blue>word2") for color changing.

Post Reply