Author Topic: Function: WriteLnINI  (Read 1938 times)

0 Members and 1 Guest are viewing this topic.

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Function: WriteLnINI
« on: February 24, 2007, 09:59:38 pm »
Hey, I'm wondering if you could add a function that could write to specific line in ini file.

Could be used for like many configs, scores, settings, things .. etc.

So basically it complements ReadINI
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Function: WriteLnINI
« Reply #1 on: February 25, 2007, 01:21:10 am »
I don't think so, its not how INI's are meant to be used.

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Function: WriteLnINI
« Reply #2 on: February 25, 2007, 03:59:47 am »
its not how INI's are meant to be used.
So?

If you can't, could you tell me the best way of saving and reading dynamic data from specific lines? (without having to create a separate file for each record (like other scripts have to revert to doing))
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline nub

  • Major
  • *
  • Posts: 56
Re: Function: WriteLnINI
« Reply #3 on: February 25, 2007, 07:16:46 am »
mIRC has a /writenini, so why not implementing it also in Soldat?
Можно зарезать, украсть и всё-таки быть счастливым...

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Function: WriteLnINI
« Reply #4 on: March 01, 2007, 01:07:06 am »
Write your own, use the AppendFile function.

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Function: WriteLnINI
« Reply #5 on: March 01, 2007, 05:26:01 am »
Write your own, use the AppendFile function.
Is that documented?
Soldat Lobby Avec Players -New Release! - Updated AGAIN!