replace text in and ini file - 03/03/07 06:12 PM
I have a script that stores info in an ini file. Is there a way to read the ini file, and if the name exists already, replace it with the new info?
I would like to be able to read the ini and see if the owners name is there already, and if it is place the $2
Thanks
Code:
[/code]on *:text:!own & *:#table:{ writeini phonebook.ini owners $2 $3- msg # added $3- as the owner of $2 }[code]
I would like to be able to read the ini and see if the owners name is there already, and if it is place the $2
Thanks