Here a description to the Slot-Panels and their variables.
You can change the Slot-Panels per script.
set '@$slot[x]_23' to a Value 0-27 or 50-77. The [x] must replace with the correct Slot Number.
for example: set '@$slot4_23' 17 this set in the middle layout the slot to "efx 3"
SLOTS
'@$slot1_23' 0-27 & 50-77 -> layout big
'@$slot2_23' 0-27 & 50-77 -> layout big
'@$slot3_23' 0-27 & 50-77 -> layout big
'@$slot4_23' 0-27 & 50-77 -> layout middle
'@$slot5_23' 0-27 & 50-77 -> layout vertical
'@$slot6_23' 0-27 & 50-77 -> layout prepare
'@$slot7_23' 0-27 & 50-79 -> layout prepare
'@$slot8_23' 0-27 & 50-79 -> layout prepare
'@$slot9_23' 0-27 & 50-79 -> layout prepare
'@$slot10_23' 0-27 & 50-77 -> layout prepare
'@$slot11_23' 0-27 & 50-77 -> layout prepare small
'@$slot12_23' 0-27 & 50-77 -> layout performance
__________________________________________________________________________________________
Panels
'@$slot[x]_23' 0 & 50 -> hot cues 8
'@$slot[x]_23' 1 & 51 -> saved loops 8
'@$slot[x]_23' 2 & 52 -> cue jump 8
'@$slot[x]_23' 3 & 53 -> hot cues 4 button 8
'@$slot[x]_23' 4 & 54 -> saved loops 4 button 8
'@$slot[x]_23' 5 & 55 -> cue jump 4 button 8
'@$slot[x]_23' 6 & 56 -> hot cues 4 button 4 knob 2
'@$slot[x]_23' 7 & 57 -> saved loops 4 button 4 knob 2
'@$slot[x]_23' 8 & 58 -> cue jump 4 button 4 knob 2
'@$slot[x]_23' 9 & 59 -> custom 16
'@$slot[x]_23' 10 & 60 -> pad 1-8 btn4
'@$slot[x]_23' 11 & 61 -> pad 9-16 btn4
'@$slot[x]_23' 12 & 62 -> pad 1-16 btn4
'@$slot[x]_23' 13 & 63 -> pad 1-8 default
'@$slot[x]_23' 14 & 64 -> pad 9-16 default
'@$slot[x]_23' 15 & 65 -> pad 1-16 default
'@$slot[x]_23' 16 & 66 -> efx 1
'@$slot[x]_23' 17 & 67 -> efx 3
'@$slot[x]_23' 18 & 68 -> stems
'@$slot[x]_23' 19 & 69 -> control
'@$slot[x]_23' 20 & 70 -> grid
'@$slot[x]_23' 21 & 71 -> video
'@$slot[x]_23' 22 & 72 -> hot cues 4 TC / LineIn
'@$slot[x]_23' 23 & 73 -> saved loops 4 TC / LineIn
'@$slot[x]_23' 24 & 74 -> cue jump 4 TC / LineIn
'@$slot[x]_23' 25 & 75 -> Sampler
'@$slot[x]_23' 26 & 76 -> stems 2
'@$slot[x]_23' 27 & 77 -> Video FX