src/main/java/com/ircnet/service/clis/strategy/SQueryCommandList.java
/**
     * Handler for: /SQUERY Clis HELP LIST and /SQUERY Clis HELP LIST EXAMPLES
     *
     * @param from User who sent the SQUERY
     * @param message "HELP LIST [EXAMPLES]"
     */
Handler for: /SQUERY Clis HELP LIST and /SQUERY Clis HELP LIST EXAMPLES
@param from User who sent the SQUERY
@param message "HELP LIST [EXAMPLES]"
Handler for : / SQUERY Clis HELP LIST and / SQUERY Clis HELP LIST EXAMPLES @param from User who sent the SQUERY @param message " HELP LIST [ EXAMPLES ] "
@Override
    public void processHelp(User from, String message) {
        String nick = from.getNick();
        String[] args = message.split(" ");
        if (args.length > 2 && args[2].equalsIgnoreCase("EXAMPLES")) {
            notice(nick, "LIST Examples:");
            notice(nick, "/SQUERY %s LIST -min 10 #ircnet*", serviceName);
            notice(nick, "  Lists all channels which start with #ircnet (#ircnet, #ircnet.com, ..) and have at least 10 users");
            notice(nick, "/SQUERY %s LIST -min 10 -t http *", serviceName);
            notice(nick, "  Lists all channels whose topic contains \"http\" and have at least 10 users");
            notice(nick, "/SQUERY %s LIST -show mt *", serviceName);
            notice(nick, "  Lists all channels and shows the modes and the topic author");
        } else {
            notice(nick, "Usage: /SQUERY %s [options] <mask>", serviceName);
            sendOptionSyntax(nick, options);
            notice(nick, "For LIST examples use /SQUERY %s HELP LIST EXAMPLES", serviceName);
        }
    }
@ Override public void processHelp ( User from , String message ) { String nick = from . getNick ( ) ; String [ ] args = message . split ( " " ) ; if ( args . length > 2 && args [ 2 ] . equalsIgnoreCase ( "EXAMPLES" ) ) { notice ( nick , "LIST Examples:" ) ; notice ( nick , "/SQUERY %s LIST -min 10 #ircnet*" , serviceName ) ; notice ( nick , "  Lists all channels which start with #ircnet (#ircnet, #ircnet.com, ..) and have at least 10 users" ) ; notice ( nick , "/SQUERY %s LIST -min 10 -t http *" , serviceName ) ; notice ( nick , "  Lists all channels whose topic contains \"http\" and have at least 10 users" ) ; notice ( nick , "/SQUERY %s LIST -show mt *" , serviceName ) ; notice ( nick , "  Lists all channels and shows the modes and the topic author" ) ; } else { notice ( nick , "Usage: /SQUERY %s [options] <mask>" , serviceName ) ; sendOptionSyntax ( nick , options ) ; notice ( nick , "For LIST examples use /SQUERY %s HELP LIST EXAMPLES" , serviceName ) ; } }
Handler for: /SQUERY Clis HELP LIST and /SQUERY Clis HELP LIST EXAMPLES
 @param from User who sent the SQUERY
 @param message "HELP LIST [EXAMPLES]"
Handler for : / SQUERY Clis HELP LIST and / SQUERY Clis HELP LIST EXAMPLES @param from User who sent the SQUERY @param message " HELP LIST [ EXAMPLES ] "