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

Ingame IRC. Servers and Clients. v0.2

Started by libraryaddict, 10 May 2012 - 02:38 PM
libraryaddict #1
Posted 10 May 2012 - 04:38 PM
This supports multiple servers running at the same time on different machines.
Basically people can setup their own chat channels.

Servers can communicate to each other and something something bla bla bla.

This uses rednet so you need to attach modems to every computer.
Doesn't matter what side.

To connect to a server you need to start one.
Run the server on a computer and set it up accordingly.
If you want to have the IRC chat go further. You need to place more servers down with details.

If you have any questions or problems.
Or suggestions.
God I love suggestions.

Please post here.

I'm aware I could tidy up the code as well as add more freedom to editing the code.

And again.
Any problems, suggestions and questions are very welcome.
Very little people like to post in my topics

Client : http://pastebin.com/rBf4NZsS
Server : http://pastebin.com/aJykT5GW

While you are in the client you may type "/help"
Oh and I forgot to include in "help" the command /me

jarifle #2
Posted 20 May 2012 - 04:01 PM
what do i need to do after it says now acting as a libchat IRC server
libraryaddict #3
Posted 22 May 2012 - 08:31 AM
Theres the client program and the server.

You run the server which clients connect to.
Servers connect to other servers they find of the same network name
Jackster #4
Posted 07 July 2012 - 05:40 PM
OMG this is the best chat system so far!

Very easy to use and is simple. No extra things to clog it up.

Just going to work out how to make it display on a big monitor now :P/>/>
libraryaddict #5
Posted 07 July 2012 - 07:12 PM
:|

Im very glad to see someone enjoys it.
Just add this to the first line
term.redirect(peripheral.wrap(side))
Jackster #6
Posted 07 July 2012 - 07:50 PM
Managed to do it with this before the code.


local monitorSide = "top"
if peripheral.isPresent(monitorSide) and peripheral.getType(monitorSide) == "monitor" then
  term.redirect(peripheral.wrap(monitorSide))
else
  print("Dam screen where you go?")
  return
end

Going to work on getting the screen to show on both monitor and terminal.