When I got Ophelia in December, I had NO CLUE how to properly care for a chameleon. I think you are in the same situation and I know how it feels to be a new keeper with zero knowledge. You have no idea what you are doing. I'm not trying to be rude, I just like to call it as I see it so we can be on the same page and move forward. Thankfully, you found this forum. Unfortunately, you are pushing away the people who could possibly help you and answer your questions. You are pushing them away by not following the rules established on this forum. Several members are frustrated with you. One of your chameleons has died. Your other chameleon is not doing well. Your cage, your experience, your efforts are not adequate in taking care of a chameleon at this point. What is frustrating people is that you are not fixing the problems. Do you understand so far?
As far as getting your carpet wet... think about what type of material or item could protect something from water? Can't come up with any ideas on your own? Then your next step is to SEARCH this forum for the answer. You should not create another post with a new question until you have searched for the answer to that question. You are not the first person to have these questions (I also had these newbie questions, so I get it), but I tried not to bother anyone until I had tried to find the answer here myself.
Here's what I want you to do: search this forum for "over spray" and report back to THIS THREAD and tell me what you found. I'm waiting for your answer... ready, go!