Hello! We can only offer script samples for reference. Please customize your own script based on their syntax and structure. Click here for details (Key reference: 6.0 Control battery charging - for advanced users only)