I have a much more intricate script for snooping and stealing but I'd like to see you guys build off of the basics. This script will attempt to snoop the bag of the nearest person.
getenemy 'friend' 'innocent' 'murderer' 'enemy' 'criminal' 'gray' 'closest'if @inrange 'enemy' 1 and @findlayer 'enemy' 21 useobject! 'found'endif