When using /writeini, if the item as a [ or ] in it, it gets changed to ~. Example, /writeini text.ini main [whatever] stuff will look like ~whatever~=stuff in text.ini.

Is there any way i can stop this.

Thanx