This door-script calculates the position of the door and avatar and displays a message if you are inside or outside.

The variable FlipInside is for setting which side of the door is inside.

The variable Ycorrection is for setting the X-ax/Y-ax of the door.

http://opensim-creations.com/wp-content/uploads/2012/05/doormaster_simple.zip