You did the XY problem. You gave a completely different question which didn't have the problem, instead of giving the actual channel name which does have the problem. As I stated in my previous posts, one of the situations where the $ evaluates as an identifier is when the $ is preceded by a # which is what's happening in your final example. If you don't want the timer to evaluate the command line, you need to wrap the command line inside the $unsafe identifier:

//timer 1 1 $unsafe( join #$C=mS^3$ )