I'm working on a Titan Land map, and I'm trying to figure out how to imitate some of the core features. I've gotten to a point where i just have no idea how to do it. There's a command called '-rgb xxx xxx xxx', to select which colour to use for recolouring units in-game. The thing is that in the map you can do '-rgb xxx x xxx' or '-rgb x x xxx', and it still can read the right values. How do i make it able to read it like that? I've thought about checking if the character before the number is zero, and going by that, but i feel like there should be a cleaner way.