Actually you can do that, oddly enough.

The problem was partly my code, "part #" should have been "part $2".
Plus I think the "raw 366:..." block was pasted inside of the join block, making mirc send "366:$(* %spam.chan *):{" as a /raw command, thus the 401 "366:$(* Unknown command ", and also the reason for parting the #.
Anyway, I sent a PM with fixed and better code all laid out nicely. smile