The chamber temp uses the same syntax as extruder or platform temperatures. Go to Edit Process Settings > Temperature tab, and write down the temperature number for your chamber. Then the placeholder variable to use in the scripts is:
[chamber0_temperature]
Where you replace 0 with the temperature number you wrote down above. You use the same process for [extruder0_temperature] or [platform0_temperature].