Ok, I remember how he told me he may be doing it, since macro parsing was already implemented it would use a hardcoded cvar, and every time you embeded a string you would add a set of $. like this:
bind a $q$name $$q$$this is my name$$q$$; echo $$q$$I changed my name$$q$$ $q$
So when you do the bind, a's command would actually be set to this:
name $q$this is my name$q$; echo $q$I changed my name$q$
This is something that DP does already.