Basic scripting problem


I’m new to Unity (version 3.5.2 for Mac) and have a problem with this script:

function Update () {
	if GameObject : Pick up = 0{

It’s supposed to check if the GameObject “Pick up” exists.
If yes, it should go into the scene 1 – if no, it should do nothing!

Please HELP! Many thanks!

if(GameObject.Find(“Pick up”)) {

It seems my description of the problem wasn’t clear.

This script makes it load the scene 1 if the object “pickup” exists,
but it should load the scene if it does NOT exist!

Thanks again!