Open coderextreme opened 2 years ago
If you can build it with IntelliJ, that would be super cool!
just be aware that some of my scripts start a server or connect, so you may have to kill some Java processes.
A couple interfaces for IRC/chat client:
package lircom;
import java.io.InputStream;
public interface ReceiveChatInterface { void receive(String from, String message, String color); void receive(String from, String message); boolean processLine(String message) throws Exception; void receive(String from, InputStream file); void receiveAction(String from, String message); void receiveJoin(String network, String room, String person); void receivePresence(String network, String room, String person); void receiveLeave(String room, String person); void receiveQuit(String party); void setSendCommandInterface(SendCommandInterface send) throws Exception ; void receiveRoom(String network, String room, int numUsers, String topic ); void receiveNick(String network, String oldnick, String newnick); public String getLanguage(); }
package lircom;
import java.io.InputStream;
public interface SendChatInterface { void username(String username); void password(String password); void nickname(String nick); void sendJoin(String room); void sendLeave(String room); void sendQuit(); void send(String to, String message); void send(String to, InputStream file); void sendAction(String to, String message); void sendPing(); // people on system void requestPeople(); // rooms on system void requestRooms(); // people in room void requestPeople(String room); // rooms a person is in void requestRooms(String person); }
Check out my lircom project, I’ve massively improved it.