I just now tried this, it wouldn't work for me. I turned it on, recived a DCC, then when the transfer was over, nothing happened, just as if the script was never there.
I also tried it by turning it on right after I recieved the file, during the download, I turned it on - same thing.
I have Win98, I'm assuming the "cmd" is for Win2K/XP? So I did what you said, changed the "cmd" to the path of MS DOS. This is what I came up with:
if ($dccsh) && (!$get(0)) { run c:\command.com /c shutdown -s }
I even tried just 'c:\command.com /c shutdown -s' under Run, and all it did was open DOS and quickly close. Sorry - I just don't know what to do?