something like
ListItemsNearLocation( x, y, z, range, realm := _DEFAULT_REALM );
but with two ranges
ListItemsInTorus ( x, y, z, range1, range2, realm := _DEFAULT_REALM );
where range1<=range2
what for?
for example we need all items wchich are in exact range from our character.
i know I can use twice listitemsnearlocation whit different range and then compare and use only those item wchich are in the bigger and not in smaller range.
ListItemsIntorus
I dont think its even possible to make it so open that you can put in as many ranges as you want... but what would you want to happen exactly 3000 tiles away and how often will it run? If you have specific items or other things happening so far away, you should add the serial number to a prop that can be accessed easily by the script (if its an item's script the item's props otherwise you can use it on a global prop) then find it by SystemFindObjectBySerial()...