Author Topic: reloading text files through script  (Read 1874 times)

0 Members and 1 Guest are viewing this topic.

Offline Jemte

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
reloading text files through script
« on: 25 August, 2005, 04:14:01 »
I was curious if i overlooked such a command or if it was possible to include in a future release. I write some stats out to a file and wanted it to be accessible with text file support. but when the stats are updated you have to manually reload the text files so that youre able to access the new information.

would it just be easier for me to just have the script handle the trigger and just read from the file on requests?

PtokaX forum

reloading text files through script
« on: 25 August, 2005, 04:14:01 »

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 744
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
(No subject)
« Reply #1 on: 29 August, 2005, 16:02:22 »
Quote
Originally posted by Jemte
I was curious if i overlooked such a command or if it was possible to include in a future release. I write some stats out to a file and wanted it to be accessible with text file support. but when the stats are updated you have to manually reload the text files so that youre able to access the new information.

would it just be easier for me to just have the script handle the trigger and just read from the file on requests?

There is texter bot by plop, maybe someone will convert it for you.
Everything could have been anything else and it would have just as much meaning.

Offline Jemte

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
(No subject)
« Reply #2 on: 29 August, 2005, 22:05:43 »
the texter bot just seems to be the predecessor to the now built-in text file support. I have no problems reading from the file and displaying it.

I wanted to know if there was some scriptable command to reload text files and if not to request such a feature.

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 744
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
(No subject)
« Reply #3 on: 29 August, 2005, 23:20:54 »
A clientside script should do it with a timer. :D
Everything could have been anything else and it would have just as much meaning.

PtokaX forum

(No subject)
« Reply #3 on: 29 August, 2005, 23:20:54 »