I think each face counts as a light when it comes to lightmaterial
what, this dialog works for you?! It always shows zeroes for me ;)
I implemented it sending numbers in there, then checked it and it always shown zeroes for some reason. I kept the code in, in case it worked at least in some other versions of 3dsmax. Apparently it does ;)