Aliasing var will break local variables, because the variable will be local to the /var alias.

Aliasing set will also break /var considering mIRC calls /set -l internally and it will thus be local to the /set alias.