Preheat oven to 350 F.
In a large bowl, mix together the corn, creamed corn, onion, pimentos and green chilis. Set aside.
In a separate bowl, crush half of the crackers and mix them with the cheese, green onions and seasoning mix. Fold the cracker mixture into the corn mixture.
Melt 6 tablespoons of butter and stir it into the mixture along with the egg.
Spray a 9-by-13-inch casserole dish with cooking spray and pour in the corn mixture. Bake uncovered for 30 minutes.
Crush the remaining crackers, melt 2 tablespoons of butter and mix them together.
Crumble the crackers over the top of the casserole and bake another 15 minutes.