egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eggdrop & phpbb

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
trotinet
Voice


Joined: 11 Feb 2007
Posts: 1
Location: France

PostPosted: Sun Feb 11, 2007 12:39 pm    Post subject: Eggdrop & phpbb Reply with quote

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 :
[list=]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).[/list]

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:
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 )
Laughing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber