The following functions used for checking and running scripts that have been written in the Script Editor:
script_exists script_get_name script_execute