How to access a variable in a script on the same object.

I am trying to get my script AmmoSwitch:

function Update () 
{
    if( Input.GetButtonDown( "Fire2" )
    isGlue = !isGlue;
}

to access the variable `isGlue`, from the script GlueGunScript:

var Glue : Rigidbody;
var Solvent : Rigidbody;
var isGlue : boolean = true;
var speed = 20;
function Update()
{
    if( Input.GetButtonDown( "Fire1" )  && isGlue)
    {
    var instantiatedGlue : Rigidbody = Instantiate(
    Glue, transform.position, transform.rotation );
    instantiatedGlue.velocity =
    transform.TransformDirection( Vector3( 0, 0, speed ) );
    Physics.IgnoreCollision( instantiatedGlue. collider,
    transform.root.collider );
    }

    if( Input.GetButtonDown( "Fire1" ) && !isGlue)
    {
    var instantiatedSolvent : Rigidbody = Instantiate(
    Solvent, transform.position, transform.rotation );
    instantiatedSolvent.velocity =
    transform.TransformDirection( Vector3( 0, 0, speed ) );
    Physics.IgnoreCollision( instantiatedSolvent. collider,
    transform.root.collider );
    }
}

I tried to follow the lesson on the homepage, but I couldn't get it to work on my script, even when I looked at other ways. A script line would be greate! Thanks in advance!

http://unity3d.com/support/documentation/ScriptReference/index.Accessing_Other_Game_Objects.html