Hmm, I messed up by trying it on a window that was already set as desktop.
The -d switch only seems to work at the time a window is created.
I'm guessing you want to be alerted when somebody joins your channel. If so, maybe an echo alert would serve that purpose or a small dialog popup. The showmirc command could be useful if mirc itself might be minimized also.