Package ecks.services

Examples of ecks.services.SrvHelp_channel


        SrvHelp temp = ((SrvHelp) who);
        String args[] = arguments.split(" ");
        if (args.length == 1) {
            String ch = args[0].toLowerCase();
            if (!temp.getChannels().containsKey(ch)) {
                temp.getChannels().put(ch, new SrvHelp_channel(ch));
                Generic.curProtocol.outPRVMSG(who, replyto, "\u0002" + Generic.Users.get(user).uid + ":\u0002 Registration Succeeded!");
                Logging.info("SRVHELP", "Channel " + ch + " registered by " + user + ".");
                Generic.curProtocol.srvJoin(who, ch, "+stn");
                Generic.curProtocol.outSETMODE(who, ch, "+o", who.getname());
            } else Generic.curProtocol.outPRVMSG(who, replyto, "\u0002Error:\u0002 Channel is already registered.");
View Full Code Here

TOP

Related Classes of ecks.services.SrvHelp_channel

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.