private List<String> searchForMatches(String string){
        List<String> results = new ArrayList<String>();
        if(string.length() <= "help".length() && ("help".substring(0,string.length()).equals(string))){
                    results.add("help");
        }
        for (String string1 : commandCollection.getCommands().keySet()) {   
            if((string.length() <= string1.length() && (string1.substring(0,string.length()).equals(string))) || (string.contains("(") && mod.readTill(string, "(").equals(string1))){              
                results.add(string1);
            }
        }
        return results;
    }