Click to change the sprite.
This is an example for red-fruit. He/she was trying to figure out how to make it so the background changes with variables. I know this isn't a background changing, but it's the same thing for backgrounds, the script is just in the backdrop instead of a sprite. Forum: http://scratch.mit.edu/discuss/topic/5442/ red-fruit, I hope this helps! See inside for script details.