Is it possible to colorize the echo message?

Problems that don't fit in other categories.
Post Reply
┇»MíM«┇
User
Posts: 160
Joined: Mon Jun 06, 2016 2:29 pm
Location: Poland
Player profile: ┇»MíM«┇

Is it possible to colorize the echo message?

Post by ┇»MíM«┇ » Sun Aug 19, 2018 3:46 am

for example something like this:
kill.cfgShow
echo Kill on
bind "z" "kill; exec nokill.cfg"
bind "mouse2" "+hook; exec nokill.cfg"
nokill.cfgShow
echo Kill off
bind "z" "exec kill.cfg"
bind "mouse2" "+hook"
been curious for years

GG Kid
User
Posts: 253
Joined: Sun Apr 16, 2017 2:33 am
Location: U.S.A.
Player profile: Bolto
Clan: Kerger

Re: Is it possible to colorize the echo message?

Post by GG Kid » Sun Aug 19, 2018 6:16 am

well for me it looks like
....Show
screenshot_2018-08-18_21-07-51.png
this
what more color be you want?

also your Script-Bind feels reminiscent of Valen_4's "kill protection" viewtopic.php?f=16&t=6320#p62688. your's is more down & dirty. did you think of this your self?
Last edited by GG Kid on Sun Aug 19, 2018 10:49 pm, edited 1 time in total.

┇»MíM«┇
User
Posts: 160
Joined: Mon Jun 06, 2016 2:29 pm
Location: Poland
Player profile: ┇»MíM«┇

Re: Is it possible to colorize the echo message?

Post by ┇»MíM«┇ » Sun Aug 19, 2018 7:25 am

Ya pretty much 'came up' with it after discovering exec command back in.. 2015-ish (old friend helped me a bit aswell)
And i was wondering if i could have different colors for each line like, green 'kill off' and red 'kill on'

Stupid little thing but i'd love to know if its possible or not, just to be sure.

User avatar
deen
Retired Administrator
Posts: 3274
Joined: Mon May 05, 2014 2:30 pm
Player profile: deen

Re: Is it possible to colorize the echo message?

Post by deen » Sun Aug 19, 2018 2:58 pm

Not right now.

GG Kid
User
Posts: 253
Joined: Sun Apr 16, 2017 2:33 am
Location: U.S.A.
Player profile: Bolto
Clan: Kerger

Re: Is it possible to colorize the echo message?

Post by GG Kid » Sun Aug 19, 2018 11:44 pm

well as long as your on DDnet server's you can just add say /whisper YourName Kill on! to kill.cfg to directly message your self, like so
...Show
screenshot_2018-08-19_13-53-38.png
although it basically breaks the /converse system, & it's quite hacky, but you can adjust the color under HUD > Highlighted message. it's cool you though of your own kill protection back in 2015, here i though we where doing some original stuff, oh well it was new to me :) i just hope to show others what i have learned.

Peace.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests