Hmm. Go to the Project panel and select the Item script. You should see it's code previewed in the Inspector. Does your code match what you've written? Sometimes Unity doesn't associate the latest changes to your script. Also, make sure you saved your script in Monodevelop.