well, i have been learning to script recently, and im enjoying it laugh
the people i was learning scripts from use variables so i learnt that way, although my other friend came along and told me about using ini files etc...
i have to say, using ini files does seem better for me, i find it easier to store stats for my users, and its easier for me to script although im having a very silly problem

i never learnt how to remove txt from a txt file.

in my channel i have admins, so i have a !level [nick] command which enabled them admin status through an ini file. and im using a txt file to keep the list of admins, so when someone types !admins it shows the list ($read(admins.txt) it works fine

my !level command adds there name in my admins.txt file automatically and i wanted my !unlevel command to do the same, thats when i got stuck.

i dont know what the code is too remove a name from my list of admins...
i tried a couple of ways
e.g. remove admins.txt $2
but that deleted my whole list and the txt file with it.

can anyway tell me the code to remove $2 ($2 being the user ofc xD) from my txt file when i want to remove there admin status by doing !unlevel.
everything else works i just want it to remove there name from the admins list when i take admin status from them :>
(ps : i know this is a silly problem but i am a newish script )
thanks
-dom!

Last edited by dominic_eddy; 26/12/10 11:06 PM.