Viewing topic:irc bot and quakenet
Page: 1
Topic post 12-12-2007 - 11:05
firstly, thanks jim for your help. creating a !join command and pm'ing it worked

ok, how can i get round this annoying quakenet 'feature' that does not allow you to join a channel right away or cant i.

not too bothered if i cant as using a om isnt any hardship. Tried for hours to get the thing to auto join..lol
Topic post 12-12-2007 - 13:01
It is a very common problem. But it should be fixable, normal irc clients also have it working.

Have you tried sending other data to the server before joining the channel? Maybe the server requires some other input before it allows the client to join a channel.

Also we should check what server/demon quakenet is using, and what the other servers that have the same problem are using. That way we can learn much more about irc.

I will also ask Graham to read this topic, he also has much experience in irc - php bots.
Topic post 13-01-2008 - 11:52
Sorry for the month old reply but I didn't have my files with me on vacation.

You need to explode the code and wait for 001 and then join, else try 005 (that's when they send you all the info about the server).

Please refer to: http://paste.combined-minds.net/20

If that doesn't work replace 001 with 005

Good luck
Topic post 13-01-2008 - 11:53
Double post ~
Topic post 16-01-2008 - 09:50
thx alot for that...

i kind of got round it by making it check to see if it was a member of the channel(s) i wanted and if not then to join. This also makes the bot rejoin the channel(s) if/when kicked.

I'm not a coder by any stretch of the imagination but here's what i did...

else if ($ex[2] == "" ) {
fputs($socket, "JOIN #channelnameheren" ) ;
}
Topic post 16-01-2008 - 12:49
Hmm it's not a solution you will see that often :P. But if it works that's nice

Can you post that solution on the tutorial page? ^^

©Copyrights Combined Minds. All rights reserved 2006 - 2008 : Disclaimer
Realized by www.Minna-Media.com