"Barbie" really wasn't a troll. A troll is a human being trying to stir up trouble.

Barbie's a spambot, an automated program that exploits security holes in public bulletin boards. Most of the time, spambots are designed to drive traffic to websites in hopes that the traffic will increase the site's rank on search engines. They can sometimes lead to phishing sites or sites with malware.