Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7973693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:10:39+00:00 2026-06-04T08:10:39+00:00

I used to have a working IRC bot, which I affectionately named shakybot, for

  • 0

I used to have a working IRC bot, which I affectionately named “shakybot”, for it was very unstable in the beginning.

Now, I am recoding it. However, whenever I run it, I encounter a problem. This is the output detected from the IRC channel:

NOTICE AUTH :*** Please wait while we scan your connection for open proxies...
:Tigh.GeekShed.net NOTICE AUTH :*** Looking up your hostname...
:Tigh.GeekShed.net NOTICE AUTH :*** Found your hostname (cached)
:Tigh.GeekShed.net NOTICE AUTH :*** Checking ident...

And then it just enters the main loop. It never connects or anything, it just prints this. I am using the same code from the old version.

irc=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
irc.connect((network, port))
a=irc.recv (4096) #Setting up the Buffer
print a
irc.send('NICK ' + nick + '\r\n')
irc.send('USER shakybot shakybot bla :shakybot\r\n')
irc.send('JOIN :' + chan + '\r\n')
irc.send('PRIVMSG ' + chan + ' :Hello.\r\n')

How can I make it connect?

EDIT: After comparing the debugging messages of connecting to IRC with Mibbit and with this program, I should be getting:

Tigh.GeekShed.net *** Looking up your hostname... 
Tigh.GeekShed.net *** Checking ident... 
Tigh.GeekShed.net *** Found your hostname 
Tigh.GeekShed.net *** Received identd response 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T08:10:41+00:00Added an answer on June 4, 2026 at 8:10 am

    What Greg says is correct. Kindly look into this code(http://code.activestate.com/recipes/299411-connect-to-an-irc-server-and-store-messages-into-a/) according to RFC1459 you need to check for PING message.

    You can also look into the some of the python IRC libraries.
    http://pypi.python.org/pypi/lalita/0.1.1
    http://pypi.python.org/pypi/irc/1.1

    Don’t forget to search in pypi(http://pypi.python.org/pypi?%3Aaction=search&term=irc&submit=search)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a spatial model definition which used to be working with SQL Server
I have been working on one project which is too complex and contain very
I have been working on a project which uses Grails with Hibernate... Now the
I have been working very hard on several very long views which are attached
I used to have this code working with my Tomcat server: HttpRequestBase targetRequest =
i have used progress bar in my application..my application is working fine but the
I have used JQuery within my asp.net page. JQuery is working fine. I could
I have used push notification for my project & was working fine with HTTP
I am working on some website , i have used jQuery UI , for
I've been working on this problem for a few hours and have used many

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.