Hey caddcop. Thanks for the reply.
You are correct. The text for style was not initialized. All I had to do was initialize the text and cusotm codes worked. It doesn't really matter what settings I use in the style because the custom operation overrides it.
But for clarity and possible future use, I set the text as-close-to the correct layer as I could for each style.