Wait i fixed it, i realised that the first two lines are LARGE font because they must have something that was interpreted by wordpress as a formatting symbol, so i looked at some examples that i had tried and they all had this as a comment symbol #
so i added it to the script (which was creating some strange loop because of line 2 and freezing my pi)
so now it is starting as expected!
So to recap i created that script with
sudo nano /etc/init.d/mosquitto
and then i ran
sudo chown root:root /etc/init.d/mosquitto
sudo chmod +x /etc/init.d/mosquitto
sudo update-rc.d mosquitto defaults
sudo update-rc.d mosquitto enable
sudo /etc/init.d/mosquitto start
which i copied from another post on a similar topic, they generated some errors but it may have been just from above issue
And now it starts automatically on boot.
Feel free to correct my stumbling steps to be more useable to others.