Be nicer to the neighborhood kids
Be generous at Halloween, don't give out toothbrushes or pennies
Don't yell at kids for playing in your yard or staying in the street playing t-ball when you're having dinner
Have fresh fruit for kids during the summer and help them build a lemonade stand
All of these simple things will go a long way to preventing your car from being egged in the first place