Here's a basic AutoCAD script example that sets up a drawing environment and creates a simple rectangle: