all commands on IRC start with a dot instead of a slash try using .w [recipient] [message]
.w [recipient] [message]