Full-perm script that detects when avatars are inside or outside the box.
It uses a sensor, the corner positions of a prim, and triggers a function (only once) when an avatar enters or leaves the box.
The script has been optimized for easy editing.
------------------------
Terms and Conditions:
- You may use this script in your own creations and sell those creations in Second Life.
- You are not allowed to sell, give away, or distribute the script as a standalone item.
- The script may be used in giveaways and freebies as part of your creations, provided the permissions are set to: No-Modify, No-Copy, Transfer OR No-Modify, Copy, No-Transfer.
- The script must not be included in any way that allows end users to extract or resell it as a standalone item.
- Script that detects when avatars are inside or outside the box.