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

(Synopsis)
(Switches)
Line 10: Line 10:
 
* '''-i''' - treats the file as an ini file
 
* '''-i''' - treats the file as an ini file
 
* '''-s''' - display a message if successful: "* Loaded hash table '<name>' from '<filename>'
 
* '''-s''' - display a message if successful: "* Loaded hash table '<name>' from '<filename>'
 +
* '''-mN''' - create the hash table if it does not exist, you can specify N for the number of bucket
  
 
== Parameters ==
 
== Parameters ==

Revision as of 18:00, 7 January 2018

The /load command loads a text file to an hash table. /hload does not create the table, it must already have been created by /hmake.

Synopsis

/hload -sbnimN <name> <filename> [section]

Switches

  • -b - loads binary files, $cr and $lf are preserved when saving as binary files
  • -n - loads files as data only, each item is a number, starting at N = 1
  • -i - treats the file as an ini file
  • -s - display a message if successful: "* Loaded hash table '<name>' from '<filename>'
  • -mN - create the hash table if it does not exist, you can specify N for the number of bucket

Parameters

  • <name> - the name of the hash table
  • <filename> - the file you want to load from
  • [section] - if -i is used, you can specify a section to be loaded

Example

None

Compatibility

Added: 5.8

See also

[Expand]
v · d · e mIRC commands list