Since you want to access/rewrite the chat messages, you gonna need libcod: http://killtube.org/showthread.php?1...Builtin-B3!%29

And once you got that, I suggest using libcod file functions: http://killtube.org/showthread.php?1...-fwrite-fclose

Then you just parse the badwords.txt file once and keep the array data in like level.badwords