If two weapons have the same name, this macro will not work.
You need to use the system's own equipment replacement system, set up a set of equipment, name it "Frenzy", and disable all equipment except for weapon positions, similar to the picture below.
Then use the following macro to change the outfit
/cast violent stance
/equipset violent