90% of the time when someone gives you a compliment, they're trying to spark up conversation because you did something that interested them. If you've got obvious and sever Aspergers, and a stranger gives you a compliment, take that opportunity to start a conversation with them as reciprocation. This is easy, cause if someone compliments you right away, you've got a bit of a margin to actually brag without sounding like a fool! Usually I say "Thank you!" and turn my body until I'm facing them directly, and start a conversation. Don't say "Thanks" unless you can use your voice tone to convey that you aren't quickly dismissing their compliment as a failed attempt to flatter you (Go for a cheerful raise in pitch, starting around the pronunciation of the 'a').
If its a cute girl and you're a guy, here's what you should do after that compliment:
1.) Assume that she's into you. She doesn't want to strip you down right away but she saw something in you that interesting. Don't be a dumbfuck and let your self-defeating Asperger insecurity tell you anything different. IF SOMEONE OF THE OPPOSITE SEX COMPLIMENTS YOU, YOU'RE DOING IT RIGHT, even if you're being quirky and weird. By then she doesn't give a damn. If anything, she thinks its cute!
2.) Make strong, but not crazy eye contact.
3.) Think about the quality about you that she complimented. This is your LIFELINE into a conversation. If she tells you that you have great style of clothing, she's interest in either fashion in general or your fashion. So start talking about it. Don't go on some huge monologue, give a brief few sentences then SHUT THE f**k UP and let her carry the conversation.
4.) Listen. Listen. Only say things that will make her talk more about HER interests. You'll have time for yourself later.
5.) Touch her arm or shoulder for a few seconds
There you go. Not only do you break through awkwardness, you're getting to know someone, even if you seem like an unemotional bore cause of your medical problems.
If your a girl and a cute guy compliments you, you can use the same basic algorithm, although you aren't expected to shut up.
Try remembering this routine when you're being complimented:
Their compliment --> You say "Thank you" with voice AND body ---> Quick info from you on the subject they complimented you on ---> Get them to start talking about things their interested in
Just following this in the beginning makes you seem a million times more charming, friendly, harmless, and confident right off the bat. So when he/she does start noticing your quirks, they'll either look past them or think their cute. If you start of sounding like a closed off jerk acting like a nice guy, they'll see everything you do as distrustful and slimebagish. Bye Bye.
If you don't give a s**t about what their talking about, talk about it anyway until they give you the opportunity to explore other subjects so you CAN find commonalities.
Hope this helps you guys, cause it helped me in reducing those awkward moments and actually got me more than I thought I could. I learned this through reading Michael Pilinski's Without Embarrassment and and trying it out on a bunch of NT's.