Click to See Complete Forum and Search --> : irc PART command not working correctly...
clonE
Jan 24th, 2000, 09:07 AM
Whever I send data to part from a channel, I get an error message saying that the channel doesnt exist. This is what I am doing. Say im in #test, I send PART #test, then It returns the error message, And it still will say Im in that channel when I use the whois command, any suggestions with this?, am I doing something wrong, whats the deal here, any help would be greatly appreciated.
aussiejoe
Jan 25th, 2000, 10:10 AM
you need to send it like this
:YourNickName PART #channel :any comment here
also what type of irc server are you using?
Bart
Jan 26th, 2000, 01:28 AM
aussiejoe, that isn't correct what you're saying! You should just do the following:
winsock.senddata "PART #test" & vbcrlf
That should work. Maybe there's another error in your code clonE?
clonE
Jan 26th, 2000, 08:48 AM
ill put my exact code and what happens:
Socket1.SendLen = Len("PART " & pChannel & vbCrLf)
Socket1.SendData = "PART " & pChannel & vbCrLf
Socket1.SendLen = Len("JOIN " & channel & vbCrLf)
Socket1.SendData = "JOIN " & channel & vbCrLf
DoEvents
(pChannel is the previous channel and Channel is the channel they chose to join)
this is what i get after i send the above:
:irc.id-net.fr 403 clone #channel :No such channel
Bart
Jan 27th, 2000, 10:27 PM
Should be right. Are you sure pChannel is like #...? Maybe you forgot the #-sign?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.