Cook spaghetti until tender, drain, rinse in hot water. Drain mushrooms and save liquid. Melt butter, saute onions--add seasonings and mushroom liquid. Blend in soup, add milk gradually. Put everything in drained spaghetti and mix well. Place in buttered casserole and top with cheese. Bake 350 degrees for 30 minutes or until slightly brown top.