 |
 |
Command : Cache
|
| |
Syntax
CACHE (load|store|clear|flush|show) [section] [key] [< variable > | < string > ]
Description
The CACHE command is used to store string data between kvirc sessions.
The data is stored to disk in the $HOME/kvirc/Config/kvi.cache.conf file ; is organized in sections
and referenced by keys.
CACHE store < section > < key > < string >
This will sotre the < string > in the < section > and < key >.
CACHE load < section > < key > < variable-identifier >
This will set the < variable > with the string data referenced by < key >
that is found in the < section >.
If the key or the section can not be found...the variable is set to $_null.
CACHE clear
This will clear the memory cache.
CACHE flush
This will write the cache to disk.
The cache is automatically flushed when kvirc terminates.
CACHE show
This will show you the current cache.
Example
/CACHE store MyRevengeList LastNickThatDeoppedMe $last.deopper
/CACHE sotre MyRevengeList LastNickThatKickedMe Ventur
/CACHE flush
/CACHE show
/CACHE load MyRevengeList LastNickThatBannedMe $last.banner
/CACHE clear
See also
SET UNSET
Index  Command list  Commandline syntax