Code: Select all
\ProcessOptions\relax
\ifthenelse{\boolean{someboolean}}{dosomething}{\ClassWarningNoLines{myclass}{Cannot use this command at this point}}
Code: Select all
\ProcessOptions\relax
\ifthenelse{\boolean{someboolean}}{dosomething}{\@warning{Cannot use this command at this point}}