Package com.briman0094.irc

Examples of com.briman0094.irc.IRCConnection


  {
    try
    {
      BriBot bribot = new BriBot();
      bribot.registerModule("generalCommands", new ModGeneralActions());
      bribot.registerModule("diceRoller", new ModDice());
      bribot.registerModule("regex", new ModRegexReplace());
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      while (bribot.isConnected())
      {
        String input = br.readLine();
View Full Code Here


  public static void main(String[] args)
  {
    try
    {
      BriBot bribot = new BriBot();
      bribot.registerModule("generalCommands", new ModGeneralActions());
      bribot.registerModule("diceRoller", new ModDice());
      bribot.registerModule("regex", new ModRegexReplace());
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      while (bribot.isConnected())
      {
View Full Code Here

    try
    {
      BriBot bribot = new BriBot();
      bribot.registerModule("generalCommands", new ModGeneralActions());
      bribot.registerModule("diceRoller", new ModDice());
      bribot.registerModule("regex", new ModRegexReplace());
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      while (bribot.isConnected())
      {
        String input = br.readLine();
        if (!input.equals(""))
View Full Code Here

  private HashMap<String, IModule>  registeredModules;
  private String            username;
 
  public BriBot(String server, int port, PrintStream out) throws UnknownHostException, IOException
  {
    irc = new IRCConnection(server, port);
    irc.setReadHandler(this);
    irc.setDebug(false);
    this.out = out;
    curChannel = null;
    joinedChannels = new ArrayList<String>();
View Full Code Here

        }
        else if (cmd.equalsIgnoreCase("quote"))
        {
          if (split.length > 1)
          {
            MessageType type = MessageType.getMessageType(split[1]);
            if (type != null)
            {
              String[] newArgs = new String[split.length - 2];
              for (int i = 0; i < newArgs.length; i++)
              {
View Full Code Here

TOP

Related Classes of com.briman0094.irc.IRCConnection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.