You don't need to copy the code in the sprite "vars" but you do need to copy the code in the background. Remember to give credit!
UPDATES: u1.3: Added "delete all variables" Added "set variable to another variable" u1.2: Changed the mechanics so you can no longer have more than one variable with the same name u1.1: Fixed a minor bug with the Change feature u1.0: Initial release