getsenv Description: This function demonstrates the usage of the getsenv API. Example: -- Get the environment of a script local env = getsenv(some_script) print("Script environment:", env)