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.
Old posts that have not been replied to for several years.
S
Sefu
Post
by Sefu » Wed Apr 14, 2004 5:49 am
Who can help me? I want a script that invite the people that join my channel, to join another channel(ex. a person join my channel, the bot invites him to another channel) 10x
Xpert
Halfop
Posts: 88 Joined: Mon Mar 08, 2004 7:03 am
Post
by Xpert » Wed Apr 14, 2004 6:28 am
Use this code:
Code: Select all
set channel "#channel"
set mychan "#channel-to-invite"
bind join - * join:invite
proc join:invite {nick host hand chan} {
global channel mychan
if {([string equal -nocase "$channel" "$chan"]) && (![onchan $nick $mychan])} {
putserv "invite $nick $mychan"
}
}
Should work good....
Xpert.