They should have the same syntax like /style but they does the same like the "Test" Button in the level editor. And when it finds a Error it says something Like
Error in <WEAPONNAME> on LINE <LINE>: <ERROR>.
in the style that uses the sendtonc command too