I'm very fuzzy on exactly what this is even doing, as I just copied the math operations from the blset script, but if someone feels like explaining how I could set the brightness with the dsmetest thing, then I could try to impliment that.