The following should be better suited to answer you.

http://www.psybnc.info/script.html