MMCBFrame.i
^ This is the equivalent of MMCBFrame["i"] where "i" is a string containing the letter "i". I think you meant to use this:
MMCBFrame[i]
^ where i is a variable containing the current iteration count of your for-loop.
Similarly this:
"MMCBButton..i"
... means that the actual name of your object is "MMCBButton..i". I think you meant to do this:
"MMCBButton"..i
... which appends the current value of the variable i to the string "MMCBButton", resulting in names like "MMCBButton3".
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
|