From WikiChip
Difference between revisions of "mirc/commands/hsave"
< mirc‎ | commands

(fixed a few minor things)
Line 14: Line 14:
 
* '''<name>''' - the name of the hash table
 
* '''<name>''' - the name of the hash table
 
* '''<filename>''' - the name of the file the table is being saved to
 
* '''<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
+
* '''[section]''' - if -i is used, you can specify the section of the ini file
  
 
== Example ==
 
== Example ==
Line 20: Line 20:
  
 
== Compatibility ==
 
== Compatibility ==
Added:  
+
Added: mIRC v5.8
  
Added On:  
+
Added On: 05/09/2000
  
 
<small>Note: Individual switches were not taken into consideration.</small>
 
<small>Note: Individual switches were not taken into consideration.</small>
Line 36: Line 36:
 
* [[/hload command - mIRC|/hload]]
 
* [[/hload command - mIRC|/hload]]
 
* [[/hmake command - mIRC|/hmake]]
 
* [[/hmake command - mIRC|/hmake]]
 +
* [[/hdel command - mIRC|/hdel]]
  
 
[[Category:mIRC commands]]
 
[[Category:mIRC commands]]

Revision as of 11:06, 17 December 2013

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 <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] - if -i is used, you can specify the section of the ini file

Example

None

Compatibility

Added: mIRC v5.8

Added On: 05/09/2000

Note: Individual switches were not taken into consideration.

See also