import mud.obj.*; if (arglist?.length == 0 || arglist == null) { connection.write(player.getRoom().getFormatted()); } else { Thing t = player.getThingByName(args); if (t != null) { connection.write(t.getFormatted()); } else { connection.write("You don't see '" + args + "' here."); } }