I'm sure you've all heard of those survey bots that pop into sims randomly. Some people see them as harmless, others see them as an intrusion. Especially if they pop into your skybox every 2 hours... I started to look for an LSL way to detect them. Sadly, there is no direct way. So I started observing the bots, and I noticed none of them have filled out profiles, All account ages are 13+ years or over 1, and none of them are in groups. Based off of that information, I started toying around with an avatar detector script I made, using llGetObjectDetails.
Using this command, I collected data on 3 bots today. Each had an OBJECT_TOTAL_SCRIPT_COUNT of 4, an OBJECT_SCRIPT_MEMORY of less than 262200, an OBJECT_SCRIPT_TIME of less than 0.000200, a blank OBJECT_GROUP_TAG (meaning no active group title), and an OBJECT_ATTACHED_SLOTS_AVAILABLE of over 30. Until LL gives us a proper way to detect a scripted agent, this is all I can come up with. But even this might misfire. A newbie may meet that criteria if they haven't acquired attachments or an avatar yet. Then again, I could also check account age. That will disregard newbs. I'm sure nobody will wait 13 years to finally get an avatar lol.
I will have to leave my bot detector running before I see pure commonality between bots. After all, that was just 3 bots... I also tried llGetAttachedList, but some of the bots have different clothes. So that was probably useless... If it detected something they all wore in common, or at the very least detected nothing, I would have had something to go on. Hopefully some of this was helpful to someone else, and maybe someone has a better way?
Why do I want to detect bots? To boot them off my land, of course. Just not anyone else... They seem to always choose my parcel. And I have no idea who runs these bots, so I can't contact them to ask them to stop. Automated trackers and data collectors are creepy. I know we live in an age where every social media platform is collecting data on us to share with advertisers and governments, but if I have a way to prevent it, I'm going to try. I have browser plugins to block such things. And not everyone can afford a private sim. Privacy shouldn't just be for the wealthy.