Sorry, I misunderstood the question in the first place. When you just want to hide the block use models instead and set and reset their SHOW flag, as already suggested by other users. If you want to manipulate the skin you should first clone the skin and then manipulated it with the vec_for_color etc. instructions.
Always learn from history, to be sure you make the same mistakes again...