Functions of MyChat Server script language to work with text string cache.


Data is stored in memory in the format "key" : "value". Key name is a unique constant. Letter register matters.


Cache system is convenient for exchanging information between scripts and for temporary storing required data in memory.

 

MemCacheExists

check if a specified key for cached string exists in memory;

MemCacheGet

"get" key value and delete it from memory;

MemCachePut

save a new string by using a key or update the existing one.