//window -d @test Verdana $mircexe 3
...works fine here on v7.15 although index 3 is not a very remarkable icon. Index 1 is the mIRC icon itself.
I cannot get the .icon property for $window to return anything but "off" though. Perhaps I'm using it incorrectly or perhaps it's broken.