Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
In the end it actually turned out rather simple. All levers pull up the string "combolever" in which case it checks many, many things. I'm sure this is "sloppy" work, but it works. In fact, I think that last part (The else if(Get...) is completely unnecessary, but if it works -- don't fix it.
All in all it just checks each lever pull, and if you pull a lever anywhere outside of sequence, it resets the sequence. Once completed it removes all the player interact call backs from the levers. My guess is the player will discover multiple combinations of lever pulls throughout the adventure, and each one will create and remove the call back as necessary.
Feel free to leave any comments, or questions . . . but I'm still new, so mainly comments. Especially regarding how to clean up the code -- I could use some help with that.