Package silvertrout

Examples of silvertrout.User


        if(ticks % voiceInterval == 0) {
            // Only voice if we are in the channel and are an operator
            if(getNetwork().isInChannel(channelName)) {

                Channel channel  = getNetwork().getChannel(channelName);
                User    myUser   = getNetwork().getMyUser();
                boolean operator = channel.getUsers().get(myUser).haveMode('o');

                if(operator) {

                    LinkedList<String> voice   = new LinkedList<String>();
View Full Code Here


        parts = message.split("\\s", 4);

        if(getNetwork().isInChannel(parts[2])) {
          Channel chan = getNetwork().getChannel(parts[2]);
          User    usr  = getNetwork().getUser(parts[3]);
          String  rest = ""; if(parts.length > 4)rest = parts[4];

          if(cmd.equals("!kick")) {
            chan.kick(usr, rest);
          } else if(cmd.equals("!op")) {
View Full Code Here

TOP

Related Classes of silvertrout.User

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.