- message is the (optional) abort message (in place of "KoLmafia declares world peace.")
Halts all queued functions and the entire script it is called from. Often used for error-handling.
This code will abort the script if run by the "wrong" character.
An example of abort() used for error-handling.
Also available as the CLI command "abort," which will not be queued (similarly stops execution of all remaining commands when parsed).