I want to make up a style(named myset/.code) of tcolorbox with three arguments. In this style, a macro will be re-defined. Please look at the following MWE. Yet it can not be compiled. I think someting is wrong with the defination of the style. Anyone could tell me how to modify my defination?
\documentclass{article}
\usepackage[most]{tcolorbox}
\begin{document}
\newcounter{mycounter}
\stepcounter{mycounter}
\newcommand{\mycontent}{\alph{mycounter}}
\tcbset{myset/.code n args={%
\renewcommand{\mycontent}{%
#1\#2{mycounter}#3%
}}}
\begin{tcbitemize}
\tcbitem \mycontent
\tcbitem [myset={(}{alph}{)}] \mycontent % I want get a typeout of "(a)"
\end{tcbitemize}
\end{document}

#, i.e##1for the first argument and so on. – Nov 06 '18 at 04:52