I wrote a full-on BBS in Turbo Pascal, while in college. At one point I even implemented some crazy scheme for loadable modules, so sysops (if anyone else was crazy enough to run it) could decide at runtime which features were loaded and enabled.
Not sure I ever put that version into use.
I remember it being a wild hack though.