I need help! It's important

I still can’t get this to work at all!

I have a few problems.

When I press enter it divides to fast, I just want it to divide one number. But it does multiple ones.

Secondly

I keep getting this error

 Operator '-' cannot be used with a left hand side of type 'String' and a right hand side of type 'int'.

Here’s my code

var stringToEdit = 123;
var divide = 1;

var script : Graphics3;
	function OnGUI () {
		// Make a text field that modifies stringToEdit.
		stringToEdit = parseInt(GUI.TextField(Rect(10, 10, 200, 20),stringToEdit.ToString()));
		var LeftArm = GameObject.Find("ForUnity/Left Arm").GetComponent(Graphics3);
		var RightArm = GameObject.Find("ForUnity/Right Arm").GetComponent(Graphics3);
		var Torso = GameObject.Find("ForUnity/Torso").GetComponent(Graphics3);
		if (Event.current.keyCode == KeyCode.Return) {
		LeftArm.url = "http://roblox.com/asset/?id=" + stringToEdit -= divide;
		RightArm.url = "http://roblox.com/asset/?id=" + stringToEdit -= divide;
		Torso.url = "http://roblox.com/asset/?id=" + stringToEdit -= divide;

		}
}

first off, why is all this inside OnGUI? only your first line belongs there. Move the rest to Update().
you should also cach your Components instead of searching for gameobjects all the time.
Your error message tells you what is going wrong. you cant subtract a number from a string

Could you give me some example code?

var stringToEdit = 123;
var divide = 1;
var LeftArm;
var RightArm;
var Torso;
var script : Graphics3;

fuction Start()
{
    LeftArm = GameObject.Find("ForUnity/Left Arm").GetComponent(Graphics3);
    RightArm = GameObject.Find("ForUnity/Right Arm").GetComponent(Graphics3);
    Torso = GameObject.Find("ForUnity/Torso").GetComponent(Graphics3);
}

function Update()
{
        if (Input.GetKeyDown( KeyCode.Return )) 
        {
            LeftArm.url = "http://roblox.com/asset/?id=" + stringToEdit;
            RightArm.url = "http://roblox.com/asset/?id=" + stringToEdit;
            Torso.url = "http://roblox.com/asset/?id=" + stringToEdit;

        }
}

function OnGUI () 
{
    // Make a text field that modifies stringToEdit.
    stringToEdit = parseInt(GUI.TextField(Rect(10, 10, 200, 20),stringToEdit.ToString()));
       
}

something alonh those lines… note I’m nomally not scripting in UnityScript, there might be errors.
Also I dont know what the “http://roblox.com/asset/?id=” + stringToEdit -= divide; part was about

I’m trying to subtract the last number in the textfield.

So if a user puts 9 it would change it to 8

ahh ok

LeftArm.url = "http://roblox.com/asset/?id=" + ( stringToEdit - divide );