Be nice to those who deserve it. Don't be nice to those who don't. Give people what they deserve from you.
So, in order to get people to be nice to you, you have to do 5 things:
1) show them that if they're nice to you, you'll be nice to them in return.
2) show them that if they're not nice...