From WikiChip
mirc/commands/hsave
< mirc‎ | commands
Revision as of 23:08, 2 December 2013 by David (talk | contribs) (Created page with "The '''/hsave command''' is used to save a hash table to a file. == Synopsis == /hsave -sbniau <name> <filename> [section] == Switches == * '''-b''' - saves binary files. $...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The /hsave command is used to save a hash table to a file.

Synopsis

/hsave -sbniau <name> <filename> [section]

Switches

  • -b - saves binary files. $cr and $lf are preserved when saving as binary files
  • -n - save files as data only. Each value is saved on a new line
  • -a - appends to an existing file instead of overwriting it
  • -i - treats the file as an ini file. You can specify an optional [section] after the filename
  • -s - display a message if successful: "* Saved hash table '' to '<filename>'"
  • -u - forces items in the /hadd -uN unset list to be included. They are excluded by default.
  • Parameters

    • <name> - the name of the hash table
    • <filename> - the name of the file the table is being saved to
    • [section] - (optional) if -i is used, you can specify the section of the ini file

    Example

    None

    Compatibility

    Added:

    Added On:

    Note: Individual switches were not taken into consideration.

    See also