Results 1 to 3 of 3

Thread: print_to_file()

  1. #1
    Senior Member ckb's Avatar
    Join Date
    Mar 2006
    Posts
    780

    Default print_to_file()

    I sometimes find it desirable to export or print certain things to a data file that is human readable. Using print() or logprint() and then parsing the logs works ok and is mostly functional, but not optimal. Parsing prints and logs with Mafia is possible, but then the only way to save to a file is to use map_to_file(), which necessitates a certain format.
    It would be great to be able to write to and append to a text file.

  2. #2

    Default

    It looks like
    Code:
    mirror [filename]
    probably does that?

  3. #3
    Senior Member ckb's Avatar
    Join Date
    Mar 2006
    Posts
    780

    Default

    It looks like
    Code:
    mirror [filename]
    probably does that?
    Originally Posted by lostcalpolydude View Post
    huh. I can probably make that work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •