Code to disable macro commands?

we kinda rent into a huge problem with some guys using a macro for dmg on Death Knight… is there a way to Disable macro command

the macro kinda look like this (its not the whole macro"

/sdm/script UIErrorsFrame:UnregisterEvent(“UI_ERROR_MESSAGE”)/cancelaura Frostmourne/cancelaura Frostmourne/cancelaura Frostmourne/cancelaura Damage(Rank00)/cancelaura Damage(Rank00)/cancelaura Damage(Rank00)/script /sdm /script /sdm

is there a way to disable the text ?