{{~if action.action__type==99~}}
{{~action_build_ui refid index groupindex isgrpaction~}}
{{end}} {{~if action.action__type==5~}}
{{if action.audio_wait}} {{ch='checked'}} {{else}} {{ch=''}} {{end}}
Select Clients (or leave unchecked for default client(s))
{{for sp in (action_speak_selected_speaker_clients refid index groupindex isgrpaction)}}
{{end}} {{for sp in speaker_clients}}
{{if action_speak_speaker_selected refid index groupindex sp.host sp.instance isgrpaction}} {{else}} {{end}}
{{end}}
{{end}} {{~if action.action__type==8~}}
{{end}} {{~if action.action__type==1~}}
{{control_index=0}} {{device_index=0}} {{list=action.devices}} {{roots=root_devices_by_location}} {{for item in list}}
{{if device_exists item.value.dv_ref}} {{else}} {{end}}
{{listc=controls_by_ref refid item.value.dv_ref index groupindex isgrpaction}} {{if listc[0].control_type==13}}
{{else}} {{end}}
{{if advanced_mode_enabled refid}}
Set Device Status
{{end}} {{device_index=device_index+1}} {{control_index=control_index+1}} {{end}}
After Waiting
{{end}} {{~if action.action__type==2~}}
{{if action.timer_action==1}}
{{end}}
{{end}} {{~if action.action__type==3~}}
{{if action.counter_action==6 || action.counter_action==3 || action.counter_action==4}}
{{end}}
{{end}} {{~if action.action__type==6~}}
{{if action.audio_wait}} {{ch='checked'}} {{else}} {{ch=''}} {{end}}
Select Clients (or leave unchecked for default client(s))
{{for sp in (action_audio_speaker_selected_list refid index groupindex isgrpaction)}}
{{end}} {{for sp in speaker_clients}}
{{if action_audio_speaker_selected refid index groupindex sp.host sp.instance isgrpaction}} {{else}} {{end}}
{{end}}
{{end}} {{~if action.action__type==7~}}
Attachment:
{{end}} {{~if action.action__type==9~}}
{{if action.check__conditions}} {{ch='checked'}} {{else}} {{ch=''}} {{end}}
{{if action.run_in_sequence}} {{ch='checked'}} {{else}} {{ch=''}} {{end}}
{{end}} {{~if action.action__type==10~}}
{{if !(string.starts_with action.mvar_script '&')}}
{{else}}
{{end}}
{{if string.starts_with action.mvar_script '&'}} {{ch='checked'}} {{else}} {{ch=''}} {{end}}
{{if action.script_wait}} {{ch='checked'}} {{else}} {{ch=''}} {{end}}
{{if action.script_single_instance}} {{ch='checked'}} {{else}} {{ch=''}} {{end}}
{{if !(string.starts_with action.mvar_script '&')}} {{fname=string.upcase action.mvar_script}} {{if string.ends_with fname '.VBEN'}} {{else}} {{end}} {{end}}
{{end}} {{~if action.action__type==11~}}
{{if action.enabled}} {{ch='checked'}} {{else}} {{ch=''}} {{end}}
{{end}} {{~if action.action__type==12~}}
{{end}} {{~if action.action__type==14~}}
{{end}} {{~if action.action__type==15~}} {{for dev in action.selected_devices}}
{{device_name_full dev}}
{{end}}
{{end}} {{~if action.action__type==16~}}
{{end}} {{~if action.action__type==17~}}
{{for sp in (action_changeaudio_speaker_selected_list refid index groupindex isgrpaction)}}
{{end}} {{for sp in speaker_clients}}
{{if action_changeaudio_speaker_selected refid index groupindex sp.host sp.instance isgrpaction}} {{else}} {{end}}
{{end}}
{{end}} {{~if action.action__type==18~}}
{{if (get_setting_bool 'gKeepRecordings')!='checked' && (get_setting_bool 'gUploadRecordings')!='checked'}}
Camera settings do not allow recording. Enable recording in Setup, Cameras tab
{{else}}
{{end}}
{{end}}