ERR_CANNOTSENDTOCHAN

Talk about pretty much anything here, but DO NOT USE FOR SUPPORT.

Moderator: Supporters

Locked
JIVXor
Posts: 134
Joined: Fri Sep 09, 2005 10:53 pm
Location: Cuba

ERR_CANNOTSENDTOCHAN

Post by JIVXor »

When channel is +n and I want to send a privmsg :

Code: Select all

  raw 432:*:{ mode $$1 -n | privmsg $$1 bla bla | mode $$1 +n }
 
Not work, I guess I'm not using the $$1 well? In this case : RAW 432 the return value is : CHANNELNAME ?
Mark
Posts: 57
Joined: Mon Dec 26, 2005 4:01 pm

Post by Mark »

432 nickname :Erroneus Nickname

432 isn't the right raw numeric..

Try 404 (:servername 404 nickname #channel :No external channel messages (#channel))


-edit-
ah, and $1 is the nickname, $2 is the channel you're trying to send to.
Tip: As it seems you're using mIRC, type /debug @window. Everything that you send to or receive from the server will be in @window, easy to find out numerics and how the error messages are build.
JIVXor
Posts: 134
Joined: Fri Sep 09, 2005 10:53 pm
Location: Cuba

Post by JIVXor »

My bad, I was trying with the wrong RAW and I didn't realize,that's why the unknown errors, now it works. Thanks Mark.
Locked