Read from file

hello i didnt find anywhere something simple to read code from file...
i wanna make donate system code based example.. u donate and i give you code worth 20 points
you enter code (that code is in donatecodes.ini or .txt or anything) and after he enter code, code is auto removed from that file and user gets 20 points that he can exchange for example money or weapon or anythign... i just need part of script that read codes and part that delete them.... anyone?

Forum Jump:

Users browsing this thread: 1 Guest(s)