String list = "";
Iterator i = alias.keySet().iterator();
while (i.hasNext()) {
list += ", " + i.next();
}
list = list.startsWith(", ") ? list.substring(2) : list.trim();
sendMessage("All aliases:");
sendMessage(list.equalsIgnoreCase("") ? "None found" : list);
return;
} else if (split.length < 3 && split[1].equalsIgnoreCase("all")) {
sendError(ERRMSG_PARAM);