weirdpersonator wrote:
I had found a way to turn off the charging sound on my macbook as it would repeatively play it
If your laptop is continually beeping due to the Power adapter connection, then it means you have some sort of hardware issue that needs to be addressed & repaired. It could be a loose or even bad charging cable, bad power adapter, or a hardware issue with the laptop itself. Don't block the sound, get the underlying issue resolved as it will only get worse & leave you without a working laptop at a most inconvenient moment.
by inputing a terminal command posted by another user.
Never blindly use any Terminal commands you find online without actually knowing exactly what the command really does. There are no safety nets when using the command line. With some commands it may be easy to reverse the process. But with many commands such as the one in the article linked by @Servant of Cats, the command actually modifies a system preference file....sometimes you won't know where the actual preference file is located in order to restore it from a backup. In fact that linked article appears to have a mistake with one of those commands. Usually when using a terminal command you want to read the current value prior to changing it so you can go back to what existed previously.
It seems to have done something to my charging brick as it is blinking orange and only while using this brick. Please help as this os my only brick and I really don't want to buy another one. Thanks
Here is an Apple article which has a section which mentions a blinking amber LED on the MagSafe connector:
If your MagSafe cable or power adapter isn't working - Apple Support