static public void handleSay(String[] args, Console console) {
StringBuilder msg = new StringBuilder();
for(String word : args) {
if(word.startsWith("%") && word.endsWith("%") && word.length()>2) {
String itemName = word.substring(1, word.length()-1);
ItemRegistry registry = (ItemRegistry) ConsoleActivator.itemRegistryTracker.getService();
if(registry!=null) {
try {
Item item = registry.getItemByPattern(itemName);
msg.append(item.getState().toString());
} catch (ItemNotFoundException e) {
console.println("Error: Item '" + itemName + "' does not exist.");
} catch (ItemNotUniqueException e) {
console.print("Error: Multiple items match this pattern: ");