Writing such a script in an interpreted language would be cumbersome and inefficient. Using ioFTPD's module system is much more ideal (this is the exact reason why darkone took the time to implement a module system).
http://www.ioftpd.com/board/showthre...&threadid=2062
http://www.ioftpd.com/board/showthre...&threadid=1952
http://www.ioftpd.com/board/showthre...&threadid=1567