This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Eggdrop & phpbb

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
t
trotinet
Voice
Posts: 1
Joined: Sun Feb 11, 2007 12:08 pm
Location: France

Eggdrop & phpbb

Post by trotinet »

Hi !

Before beginning, excuse me everyone for my language, I'm french and my last years in school were a long time ago.

I come here because I haven't answer in french forums.
So, you'll be my last chance.
I 'll try to explain you my problem.

I have a phpbb forum on a server.
On another server, I have an irc server running with Unrealircd and one Eggdrop.
I've closed any channel for users who aren't registered with Nickserv (Anope).
I've have just leave an acces for anyone on one channel where Eggdrop staying.

On my phpbb website, I've written un page.php wich is listing members.
I've removed authentification session to make it more easylier.

Now, my problem....
I have the idea but I dont know how scritping it.

I'd like my Eggdrop, on user join, geturl and :
  • if user is a phpbb member, do action 1 (anything).
    if user isn't a phpbb member so action 2 (kick et remove nick to Anope nick.db).
I think getting value 1 or 2 is simplest scripting.
I'm not very fine with tcl scripting. I understand this language but I don't know how to make it.

Here, the beginning of the code :

Code: Select all

bind join - * join_tous
proc join_tous {nick host hand chan} {
global botnick verifie
  if {$chan != "*"} {
package require http; 
set thepage [http::data [set token [http::geturl "www.example.com"]]];
 http::cleanup $token;
If someone can help me, I'll be very happy !!

Thanks a lot to everyone will answer.

Excsue me again for my english.
(....and excuse me too if franch win Irland )
:lol:
Post Reply