Results 1 to 5 of 5

Thread: irc PART command not working correctly...

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    USA
    Posts
    26

    Post

    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.

  2. #2
    Junior Member
    Join Date
    Jan 2000
    Location
    MFAU
    Posts
    19

    Post

    you need to send it like this
    Code:
    :YourNickName PART #channel :any comment here
    also what type of irc server are you using?

  3. #3
    Lively Member
    Join Date
    Oct 1999
    Posts
    66

    Post

    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?

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    USA
    Posts
    26

    Post

    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

  5. #5
    Lively Member
    Join Date
    Oct 1999
    Posts
    66

    Post

    Should be right. Are you sure pChannel is like #...? Maybe you forgot the #-sign?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width