Mirc is very liberal when allowing names of aliases. $nick3 is a valid alias name, so when you touch things to $nick you're either getting blank or getting an identifier warning that you used an invalid warning. If you want to have extraneous stuff touching the name of an alias, there are a few cases like $mircdirtest where test displays along with the display of the pathname, but for the most part if you want to have something touching an identifier/variable/alias/command name, use $+(stuff,$$1,other stuff) to concatenate.

If you want an escape character to have special symbols not treated as such, you can use $chr(124) or for to have the pipe symbol displayed without being something which allows 2 commands on the same line. You can sometimes use $eval() to escape characters like the pipe symbol, but it doesn't always give expected results, and can't escape all characters. i.e. these don't work:

//echo -a $eval( , 1 )
//echo -a $eval($chr(40) #channel,2)

and this works
//echo -a $( ) )
but this doesn't
//echo -a $( ( )

But that's not an escape character in your context where you're wanting to have stuff touching an $identifier or %variable without being interpreted as being part of the name.

Edit:
//echo -a $( ) )
is not working, it is simply showing the trailing parenthesis past the $( )


Last edited by maroon; 25/08/17 04:12 PM.