Naken ChatThis document is for programmers who want to create a program that can connect to the Naken Chat server. First thing you need to know is that Naken Chat is purely simple plain text. This may change if I add encryption which is a possible future feature. A Naken Chat client can be simply a text area that displays everything the client receives and a text box that the user can type in and push a button or some other trigger to send the text to the server. Another great hint for doing a "user list" box is there is a hidden
.Z command. If the client sends over a .Z, the server will then give
you info on how to populate the user list (without having to send a
.w or .f command every time you want to update). So here's the information
that Naken Chat will send if .Z is turned on: As far as the colors go, the applet I wrote knows what to color a line by the first char in the line. If the first character in the line is a > then then line will be green. If it's < then it's blue. If it's # then it's red. Etc, etc.
|