+ int b = Integer.parseInt(args[0].replaceAll("\\+-", ""));
+ if (args[0].startsWith("+")) {
+ b = Math.min(console.getConfig().leds.brightness + b, 31);
+ } else if (args[0].startsWith("-")) {
+ b = Math.max(console.getConfig().leds.brightness - b, 0);
+ }