From WikiChip
Difference between revisions of "mirc/commands/hfree"
m (Bot: Adding a template) |
m (Bot: Fixing links) |
||
Line 1: | Line 1: | ||
− | The '''/hfree command''' destroys a previously created hash table(s). The /hfree command destroys a previously created hash table(s). A hash table can be created via the | + | The '''/hfree command''' destroys a previously created hash table(s). The /hfree command destroys a previously created hash table(s). A hash table can be created via the {{mIRC|/hmake}} command. |
== Synopsis == | == Synopsis == | ||
Line 42: | Line 42: | ||
* [[$hfind identifier - mIRC|$hfind]] | * [[$hfind identifier - mIRC|$hfind]] | ||
* [[$hget identifier - mIRC|$hget]] | * [[$hget identifier - mIRC|$hget]] | ||
− | * | + | * {{mIRC|/hadd}} |
− | * | + | * {{mIRC|/hdec}} |
− | * | + | * {{mIRC|/hdel}} |
− | * | + | * {{mIRC|/hinc}} |
− | * | + | * {{mIRC|/hload}} |
− | * | + | * {{mIRC|/hmake}} |
− | * | + | * {{mIRC|/hsave}} |
{{mIRC command list}} | {{mIRC command list}} | ||
[[Category:MIRC commands]] | [[Category:MIRC commands]] |
Revision as of 18:42, 5 July 2014
The /hfree command destroys a previously created hash table(s). The /hfree command destroys a previously created hash table(s). A hash table can be created via the /hmake command.
Synopsis
/hfree [-sw] <table>
Switches
- -s - Displays debug information
- -w - Treats <table> as a wildcard and deletes all matching tables.
Parameters
- <table> - the table you wish to delete.
Example
alias del_hash { ;makes the hash table 'hash' hmake hash echo -a $hget(hash) : $hget(hash).size ;makes the hash table 'h' with 10 buckets hmake h 10 ;makes the hash table 'has' with 20 buckets hmake has 20 ;deletes hash table 'hash' hfree -s hash echo -a $hget(h) : $hget(h).size - $hget(has) : $hget(has).size ;deletes any hash tables matching h* hfree -sw h* }
Compatibility
Added: mIRC v5.8
Added On: 05/09/2000
Note: Individual switches were not taken into consideration.
See also
mIRC commands list