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.

Running a command on connect

Old posts that have not been replied to for several years.
Locked
j
jimmyx
Voice
Posts: 11
Joined: Mon Jul 14, 2003 6:51 pm

Running a command on connect

Post by jimmyx »

I have a few eggdrops connected to my server, and I was wondering if it was possible to run certain commands on connect. I know you can run commands like MODE, but would it be possible to run thinks like vhost? For example, I have vhosts setup on my server, so that people can change their hostnames when they type: /vhost <login> <pass> (and uses the corresponding info the configuration file)

Could an eggdrop run the vhost command, and if so, how?

thanks in advance.
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

Code: Select all

bind evnt -|- "connect-server" myproc

proc myproc { event } {
mystuffhere
}
should work
Locked