Why am I getting "MissingMethodException" error message?

My script is

function OnCollisionEnter(collision:Collision) {

And I keep getting "MissingMethodException: Method not found: 'UnityEngine.GameObject.tag'." Error message, I cant figure out why. I swear I've gotten collision to work with this script in the past, what am I doing wrong here?

You're trying to treat collision.gameObject.name like it's a function, but it's not. You want to compare the name to a string: `.name == "Station"` rather than `.name("Station")`.