if you are planning on using C-Script instead of Lite-C you can have a look at my chat code snippet:

http://3dgsnerd.xware-cg.com/code-snippet-2/


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku