Quick Sign In:  

Forum: General Discussion

Topic: This script use to work, now it doesnt.....
I got this script from Locodog over a year ago:

device_side 'left' ? deck 1 leftdeck ? deck 3 leftdeck ? deck 5 leftdeck: on & deck 1 leftdeck ? deck 2 rightdeck ? deck 4 rightdeck : on & deck 2 rightdeck

It allowed me to switch between decks 1 and 3 on the left side and decks 2 and 4 on the right side for the REV-7 using the button assigned to SIL_CUE to switched.

It worked fine up until now. Now I can only switch to deck 3 from deck 1 once and after that, none of the buttons work on either side.

I've tried downloading and resintalling without unistalling.

I wanted to check here first to see their was an update that possibly "broke the scripting"

Thanks
 

Posted Sat 03 Feb 24 @ 10:44 pm
I ended up finding my own solution after reviewing the scripting topics here. The solution is to nest the actions in parathesis for the script interpreter to function properly.

device_side 'left' ? ( deck 1 leftdeck ? deck 3 leftdeck : on & deck 1 leftdeck )
: ( deck 2 rightdeck ? deck 4 rightdeck : on & deck 2 rightdeck )

Happy Mixing
 

Posted Sat 03 Feb 24 @ 11:03 pm