mIRC Homepage
Posted By: danzigrules 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?

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
Posted By: DJ_Sol Re: replace text in and ini file - 03/03/07 09:10 PM
Have you read about $readini and /writeini? Also check out $ini.
© mIRC Discussion Forums