Of course, it definitely has something to do with my code, I just tested a more bare bones version in a new test project and this outcome I described above did not happen. Below is an example of me using a key word `#comm` that will output COMMON with a teal color I attributed to in a dictionary `Common,139e87`. Once again everything works as intended, but for some reason my console is logging `test` three times instead of once which would make the most sense, as `1` and `2` I logged earlier do not repeat at all..
I made sure nothing else is calling this function when I run the game. This is the only place the function is called (not to mention this would have generated additional `1`'s and `3`'s if that was the case. And the length of the text passed is 5 chrs, there is no other text being passed so the function above is skipped of course (I confirmed this by disabling it too, doesn't solve it)