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 config file

Old posts that have not been replied to for several years.
Locked
B
BassTeQ

Post by BassTeQ »

When the bot needs to unban itself, the conf file it setup to send a message to the channel.

need-unban { putserv "PRIVMSG #lamest :let me in!" }

Id like to change it to private msg a irc service, for example to unban myself id type
/msg chanop unban #mychannel me

Id like the bot to simulate this. So what would I need to change that above line in the conf file to.

Would this work?

need-unban { putserv "PRIVMSG chanop :#mychannel me" }

Thank You.
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

need-unban { putserv "PRIVMSG <service-name> :<command> #channel me" }

usually, depends on your services.
B
BassTeQ

Post by BassTeQ »

Ok so

need-unban { putserv "PRIVMSG chanop : unban #mychannel me" }

should work in the same way as ...

/msg chanop unban #mychannel me

Thanks for your reply.

Cheers
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

No problem. One thing, note the place of the ':'.

Code: Select all

need-unban { putserv "PRIVMSG chanop : unban #mychannel me" }
should be:

Code: Select all

need-unban { putserv "PRIVMSG chanop :unban #mychannel me" }
B
BassTeQ

Post by BassTeQ »

Ok will do, thanks for your assistance.

Cheers
Locked