Nick registration before joining channels

Back to PHP-IRC Feature Requests

Page: 2  
From User Message Body
Manick
Post #96
user avatar
Admin
Date: 11:28 pm, Feb 12 2006
Posts: 223


You mean for passworded servers, or do you mean for nickserv?

For passworded servers, that will be coming out with PHP-IRC 2.2.1 in a few days (or a week). Until then you can mod irc.php to do it on connect. (Just search in the file for "USER" case-sensitive.. and you can probably figure out how to edit it.

--Manick
PHP-IRC Developer
Juice
Post #101
Member
Date: 5:19 pm, Feb 13 2006
Posts: 40


i mean for nickserv. When I join, I have to do /msg AuthServ@Services.GameSurge.net AUTH <myaccountname> <mypassword> to get auth'd.

Have a Great Day!

Juice
Administrator
http://ww4.GameSoda.net
Manick
Post #103 - Reply to (#101) by Juice
user avatar
Admin
Date: 6:45 pm, Feb 13 2006
Posts: 223


Hmm, well... First get the new parser.php to fix 'connect' here:

Click here

Then, all I can really recommend is that you add a 'connect' to a function file and have a function run on connect to the irc server that manually sends the auth code.

PHP-IRC was really only designed to use chanserv/nickserv. Interesting though, I may check out this AuthServ thing.

--Manick
PHP-IRC Developer
aragno
Post #456
Member
Date: 7:14 am, Feb 10 2007
Posts: 15


I modified the parseLine function in parser.php.

I added

case "376": // motd
case "422": // motd file missing
list($nick,$command) = explode(" ", $this->ircClass->getClientConf("auth"),2);
$this->ircClass->privMsg($nick, $command);
break;


Also in the config file I added
;==== ON MOTD we auth the bot
; auth full loggin command
auth P@cservice.netgamers.org login username password

// aragno

you'll find me in #5thelement on netgamers
Manick
Post #457
user avatar
Admin
Date: 7:30 pm, Feb 10 2007
Posts: 223


cool, thanks

--Manick
PHP-IRC Developer
   

Previous Page Pages (2) [ 1 2 ]  

Back to PHP-IRC Feature Requests