You need to get a reference to the object with the other script and then use GetComponent to access the script component itself (there is some sample code for doing this on the manual page).
I use Unity for my classes on Game Programming, and this is the most asked question. I’m creating a FAQ with the all the most asked questions and important hints about Unity. Question 2 may help you. (It’s in C#) http://www.mindgear.cc/unityfaq/