Added in 1.9.0
/hdel [-sw] <name> <item>
Deletes an item from a hash table.
Switches
-s - Displays the result.
-w - Indicates item is a wildcard.
Parameters
<name> - The hashtable to delete from.
<item> - The hashtable item to delete.
Example
alias example {
;Create a hashtable and Add items.
/hadd -m example academic a
/hadd example academy a
/hadd example accelerate a
/hadd example accelerator a
/hadd example accept a
/hadd example access a
/hadd example accident a
/hadd example because b
;Print Nmber of items.
/echo -a $hget(example, 0).item
;Remove everything by one.
/hdel -w example a*
;Print number of items.
/echo -a $hget(example, 0).item
;Free table.
/hfree example
}