This function checks whether the advanced script code functionality is available.
planetcnc.is_codeex_enabled()
#! /usr/bin/env python import planetcnc if planetcnc.is_codeex_enabled(): print("Command is enabled and available.") else: print("Command is not enabled and not available.")