Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Net::IRC Auto-OP

by Cheater (Novice)
on Jun 03, 2007 at 19:34 UTC ( [id://618989]=note: print w/replies, xml ) Need Help??


in reply to Re: Net::IRC Auto-OP
in thread Net::IRC Auto-OP

I don't want to use the levels command. After viewing the help page, I learned that it involves changing the level of the user I want to be auto oped. I don't want to do that. I want to leave their level as is, and just send a command to op them. As for the output, there is none. No error in the terminal, no getting kicked out of irc, no crash, nothing. The user just doesn't get OPed.

Replies are listed 'Best First'.
Re^3: Net::IRC Auto-OP
by friedo (Prior) on Jun 03, 2007 at 19:44 UTC
    Does your bot handle incoming private messages? Chanserv may be replying to you with a useful error message.

      I'm sure that Chanserv like any good bot won't respond to a privmsg with a privmsg, but with a notice.

      From the RFC:

      The NOTICE message is used similarly to PRIVMSG. The difference between NOTICE and PRIVMSG is that automatic replies must never be sent in response to a NOTICE message. This rule applies to servers too - they must not send any error reply back to the client on receipt of a notice. The object of this rule is to avoid loops between a client automatically sending something in response to something it received. This is typically used by automatons (clients with either an AI or other interactive program controlling their actions) which are always seen to be replying lest they end up in a loop with another automaton.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://618989]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (10)
As of 2024-04-18 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found