This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Kouksi44's profile picture

Simple chat program

Started by Kouksi44, 11 August 2014 - 06:01 PM
Kouksi44 #1
Posted 11 August 2014 - 08:01 PM
Simple chat program

I know, there are a million projects like that in this forum.

But i put quite a bit work in this code and I think it came out quite okay :)/>

So what is it all about ?

This is a simple chat program.
You can choose a Nickname that will be shown in front of your messages.
Every computer just has to be in range of each other to chat.


Here`s the code: http://pastebin.com/zebPZEQz


PS: I know this is nothing special and the code is not very clean and some aspects might be way too complicated but for me( as a beginner in Lua) it was already a challenge to get this working as it is now!

Hope you like it !

EDIT: Updated version online :)/> fixed some bugs and added some slowprint :D/>



Kouksi44

Here are some pictures:
http://www.directupl...tqjukyj_png.htm
http://www.directupl...ne7t8xg_png.htm
http://www.directupl...rwgig6s_png.htm
http://www.directupl...2tumyqd_png.htm
Edited on 11 August 2014 - 07:35 PM
Kouksi44 #2
Posted 12 August 2014 - 03:31 PM
UPDATE: Added some sort of menu and the possibility to chat in different channels.
**May be a bit buggy**
Kouksi44 #3
Posted 12 August 2014 - 10:40 PM
Next Update: Program requiers a advanced computer due to the "mouse_click" event used in the code :/

UI bugs and some other bugs should be fixed now :)/>