Select a child's variables from the parent.

How can I select my child's variables from the parent, for example if I have a player and want and have a weapon as a child with a script how can I access its variables?

Take a look to this

http://unity3d.com/support/documentation/ScriptReference/GameObject.GetComponent.html

http://unity3d.com/support/documentation/ScriptReference/Component.GetComponentInChildren.html