PDA

View Full Version : Telnet send text in color script


bawitdaba
17-07-2005, 23:20
Hello,

I have several scripts running on my server which sends text to players/global for welcome messages ect....

It sends these scripts via telnet, but I was wondering if it is possible to use colors through telnet and not JUST red?

help msg doesnt provide much...


Name
msg - Send a message to a virtual server
Usage
msg <text>
Sends the text as a text message to all users connected to the
currently selected (-> sel) server instance. Like with all msg commands
(->msgall, ->msgu), it is possible to strip the "telnet.loginname" thats
usualy displayed infront of all messages you send via telnet by putting
a "@" infront of your message.
Example
sel 8767
>OK
msg Hello World
>OK


As far as i know its not possibile i guess eventhough you can send text in color via teamspeak client..

If anyone has any info please reply...

Thank You

opac
17-07-2005, 23:30
probably all you need to do is put a weird-enough non-ascii character in your message to get various colours. I recall being shown how you could render the text after your nickname (e.g. ... joined channel) a different colour by such a method. This is not documented (or even intended). Hark I would bet the developers themselves don't know about these things (even though they could work out what weird character would do what, if they had the time and cared).

caribehost
23-07-2005, 18:35
The weird-ascii character is your best bet, but I have never seen that done in TS. Ill do some testing tonight to see if I can get some color :D