Telnet switch -syntax for multiple commands

I have been using the telnet switch to instruct Zoneminder to record on monitor 2 when I get an MQTT alert from my sensor.
The configuration is simple:

’ command_on: “2|on+30|123|HA Gatealarm|HA Gatealarm”’

Previously I used a script, but I much prefer removing that extra layer of complexity. But now I’d like to get monitor1 recording as well, so I need to double up my command:

‘command_on: “2|on+30|123|HA Gatealarm|HA Gatealarm” && “1|on+30|123|HA Gatealarm|HA Gatealarm”’

What is the correct syntax?