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.

How to Make Eggdrop Bot Join Passworded Channels

Old posts that have not been replied to for several years.
Locked
V
Vyrus

How to Make Eggdrop Bot Join Passworded Channels

Post by Vyrus »

Hey, I am very new to eggdrop and tcl scripting and I recently setup a eggdrop bot and am clueless on how to make the bot join a channel with a password on it.

With mIRC you join like this: /join #channel PASSWORD

Network Bot is on: irc.GameSurge.net:6667
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

I suggest use a tcl if the original .+chan method doesn't work.
Maybe this will work: (not sure!)

Code: Select all

.+chan #channel <password>

Otherwise you can always use a tcl script. Something like this should be appropriate:

Code: Select all

Usage: /msg botnick !join <#channel> <password>
#Use this in query/msg with the bot not on a channel.

Code: Select all

bind msg n !join join:channel

proc join:channel {nick uhost hand chan text} {
 channel add [string tolower [lindex $text 0]]
 putquick "JOIN [string tolower [lindex $text 0]] [lindex $text 1]" -next
 return 0
}
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
m
mopar
Halfop
Posts: 87
Joined: Sat Oct 26, 2002 3:38 pm
Location: Grebbestad Sweden

Post by mopar »

or you could read FAQ

http://www.egghelp.org/faq.htm#034

/mopar
It's never to late to give up..
V
Vyrus

Post by Vyrus »

Thanks for the help guys.
Locked