use brackets to append characters to your %variable.... though, it will still be run thru $var as a thing with a comma in it, which wont work.

agreed: mIRC needs escape characters.