Thanks for the suggestions. I wrote this for a bot and then thought I'd share but never bothered to make it ready for people to use.
So yeah, this might be useless but it is a good base to grow an idea on :)
Also, the font tags missing are overtaken by the next font tag. I do admit though, I should have those closed. I was lazy at the time.
Sorry if you didn't like it.