This function clears a chat log, leaving only the initial (system) message.
Usage
clear_chatlog(chatlog_id = ".__CURRENTCHAT__")
Arguments
- chatlog_id
character string indicating the name of the chat log to
clear.
Default is ".__CURRENTCHAT__".
Value
This function does not return anything.
Author
Ulrich Matter umatter@protonmail.com
Examples
if (FALSE) {
# Clear the current chat log
clear_chatlog()
}