I use to seperate macros for showing/hiding UI Errors:

/script UIErrorsFrame:Show()

for showing the Errors and for hiding:

/script UIErrorsFrame:Hide()
/script UIErrorsFrame:Clear()


Now i wanted to put that in one Macro:

/script [button:1] UIErrorsFrame:Show()
/script [button:2] UIErrorsFrame:Hide()
/script [button:2] UIErrorsFrame:Clear()


but it doesn't work. Do you know what i did wrong?

- - - Updated - - -

Solved it:

/script UIErrorsFrame:Show();
/stopmacro [btn:1]
/script UIErrorsFrame:Hide();
/script UIErrorsFrame:Clear();