Hello,
Thanks for your inquiry, you're talking about an
archived topic dating from November 07, 2014! (over 5+ years ago)

Unfortunately we no longer provide a software support on lua scripting and if you do a clean install of SLIMax Manager Pro this script is no longer included with the standard package since a while.
- A combo config includes a setup (.cfg) + a lua script and must have the same name with the suffix "_combo" (i.e. slipro_oneswitch_combo.cfg + slipro_oneswitch_combo.lua)
- The config files included in the
One_Switch_To_Rule_Them_All_v4.pkg on this very old topic are outdated and may corrupt your installation of SLIMax Mgr Pro
- A .pkg file is simply a .zip file so I suggest to rename it to get access to the cfg and lua script related to your SLI-PRO device and understand how the script "
one_switch_to_rule_them_all.lua" works and how it interacts with the SLI-PRO combo config.
- by the way, Zappadoc did a great job with SLIMax Manager to maintain the backward compatibility over the past decade and I just did a test by curiousity, it works "as is"!

extract the pkg,
copy slipro_oneswitch_combo.cfg in documents/SLIMax Manager Pro/cfg/ directory
copy one_switch_to_rule_them_all.lua + slipro_oneswitch_combo.lua in SLIMax Manager Pro/scripts/ directory
run SLIMax and select the slipro_oneswitch_combo setup
run a simulation/game and go on track
play with switch wired to slot 1 (SW1) of the SLI-PRO device and both panels info are changing accordingly
hope this helps
Feel free to create a new topic not related to scripting if you need assistance.
Regards,
EKSIMRacing Staff