website/docs/commands/scripting-and-functions.md
EVAL script numkeys [key [key ...]] [arg [arg ...]]
Invoke the execution of a server-side Lua script.
The return value depends on the script that was executed.
EVALSHA sha1 numkeys [key [key ...]] [arg [arg ...]]
Evaluate a script from the server's cache by its SHA1 digest.
The return value depends on the script that was executed.
SCRIPT EXISTS sha1 [sha1 ...]
Returns information about the existence of the scripts in the script cache.
Array reply: an array of integers that correspond to the specified SHA1 digest arguments.
SCRIPT FLUSH [ASYNC | SYNC]
Flush the Lua scripts cache.
Simple string reply: OK.
SCRIPT LOAD script
Load a script into the scripts cache, without executing it.
Bulk string reply: the SHA1 digest of the script added into the script cache.