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

IRC - multinet example

Started by billysback, 24 November 2012 - 07:57 AM
billysback #1
Posted 24 November 2012 - 08:57 AM
IRC

Just a simple IRC, this was created to test multinet API and as an example.

Usage:
on one computer run "irc_serv" or whatever you names the irc server, just leave the server be then (shut down computer to stop it)
on any other computer run "irc", on both of these the modem must be on the right of the computer (sorry)

Controls:
Spoilertype - enter a new character
backspace - remove the last character
enter - sends the message / does a command
up/down - scroll messages
left_control - quit

Commands:
Spoiler!user [username] - sets your username, do BEFORE joining a server
!join [servername] - joins a servername
!leave - leaves the server
!refresh - refreshes the serverlist - not really working

Download:
SpoilerServer:
http://pastebin.com/rhDBFyJf
Client:
http://pastebin.com/74mpu4Mu

Picture:
Spoiler

NOTE:
requires my "Multinet API", found:
http://www.computerc...3136#entry53136

Thanks ;)/>/>
Cranium #2
Posted 24 November 2012 - 09:18 AM
I tried making something like this. Nice job!
Dlcruz129 #3
Posted 25 November 2012 - 09:30 AM
A little off-topic but I wonder if esper has an API. That would be so cool to be on #computercraft from my world.
Lithia #4
Posted 11 December 2012 - 12:57 AM
When i install the Server
it errors out on the 3rd line?