How do you add null as a character via scripting?

So I figured out I can use a null character to disable syntax highlighting, and I planned on making it a plugin, but if I use scripting to add the null character instead of the “clipboard,” it just ends the string. I know that’s the thing null characters are supposed to do but I want to use it as an actual character. How can I add a null character in character form and keep it as a character?

My best bet is that you could do string.char(0) to get the [NUL] character.

That works, I tried that, it’s just when I add it to scripts it terminates the string instead of adding it as a character.

The “\0” escape sequence is used to insert a null character into the string. (I think)
I mean I know it is… just not sure if that will work in this case.

Can’t u just disable it in script editor?

You can? I had no idea lol :flushed: :rofl: :ramen: