I've done this a dozen times before, but somehow I've managed to do it wrong this time. I keep getting a compiler error: "variable OnUpdate is undefined".
Standard toggle formatting, as far as I can tell:
SetToggleOptionValue(ToggleTweakCommand, isTweakCommandSpellToggled, onUpdate)
Thoughts?
Edit: Nevermind, I forgot that the variable is a placeholder for a bool and had to be declared.