Okay... so I'm making a script, and I need something to shorten the code. I need the lines to make it so that an in-game variable makes items enabled in a command window. For example, if variable is 0, none of the items will be selectable. If the variable is 15, item 15, and all the command numbers below 15 will be selectable.
How can this be done?
How can this be done?