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.

Online Request

Old posts that have not been replied to for several years.
Locked
a
andi252

Post by andi252 »

I have a eggdrop running on quakenet irc. I was wonder how it would be possible to have some sort of online request where people goto the website and complete a form, then conects the bot to ask it to join that channel.

I know it can be done as I have seen it happen, How is this possible
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

It's possible to accomplish it in several ways.

You could have the form email you or something, and you could manually review it and add the bot.

You could write a Php script that stores the requests and when you approve them, connects to your bot, logs in, and does .+chan automatically.

You could write an Eggdrop script that listens on a socket, maybe even runs the web server if your shell doesn't have one, and accepts commands to add channels.

Anyway, there are more, but those are the obvious ones.
l
loze

socket

Post by loze »

how do i open a socket? and let i wait on info from the website and print it into a channel? and i want it to stay online 24/7
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

2 ways to open a socket, the eggdrop way and the tcl way

For the eggdrop way, consult tcl-commands.doc and look for the section on sockets

For the tcl way, go to dev.scriptics.com, look in the manual, and read about the 'socket' command
Locked