The only reasons you should have failed would be either

1. You used #channel instead of the actual Channel Name.
2. If you did the 2nd command in the status window of a different network than the one where the #channel is open.