Is it possible to colorize the echo message?

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
┇»MiM«┇
Posts: 162
Joined: Mon Jun 06, 2016 2:29 pm
Location: Poland
Player profile: https://ddnet.tw/players/-9479--187-M-237-M-171--9479-/

Is it possible to colorize the echo message?

Post by ┇»MiM«┇ »

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
Posts: 266
Joined: Sun Apr 16, 2017 2:33 am
Location: U.S.A.
Player profile: https://ddnet.tw/players/Bolto/
Clan: Kerger

Re: Is it possible to colorize the echo message?

Post by GG Kid »

well for me it looks like
....Show
this
this
screenshot_2018-08-18_21-07-51.png (382.44 KiB) Viewed 3280 times
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.
┇»MiM«┇
Posts: 162
Joined: Mon Jun 06, 2016 2:29 pm
Location: Poland
Player profile: https://ddnet.tw/players/-9479--187-M-237-M-171--9479-/

Re: Is it possible to colorize the echo message?

Post by ┇»MiM«┇ »

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
TECHNICAL Team
Posts: 3575
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Is it possible to colorize the echo message?

Post by deen »

Not right now.
GG Kid
Posts: 266
Joined: Sun Apr 16, 2017 2:33 am
Location: U.S.A.
Player profile: https://ddnet.tw/players/Bolto/
Clan: Kerger

Re: Is it possible to colorize the echo message?

Post by GG Kid »

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
screenshot_2018-08-19_13-53-38.png (140.67 KiB) Viewed 3230 times
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: Google [Bot] and 0 guests