Go it alone in your fortress and attempt the hermit challenge.
This script blocks all caravans, migrants, diplomats, and forgotten beasts (not wildlife) from entering your fort. Useful for attempting the hermit challenge.
This script does not block sieges, and may not block visitors or monarchs.
enable hermit hermit [status]