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.

Simple invite Script

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
H
HelloWorld
Voice
Posts: 1
Joined: Tue May 20, 2008 6:49 am

Simple invite Script

Post by HelloWorld »

Hi @all
Iam searching for a simple Invite Script.


I would like if someone in a channel! Invite writes that the bot him in #chan1 #chan2 and #chan3 invitete.
!invite
eggdrop invitet user in the channels.
Have something times but I had lost Forum Search and Google search took me only to be piling script with extra things that I do not need.

Hope someone can help me

Sorry for my bad English

Thank you
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

It is hard to understand what it is you want, but I think it is something like this:

Code: Select all

set channels_to_inv "#chan1 #chan2 #chan3"
bin pub - !invite do_simple_invite
proc do_simple_invite {nick host hand chan text} {
	foreach {c} [split $::channels_to_inv] {
		putserv "INVITE $nick $c"
	}
}
This will invite everyone that type !invite in any of your channels to invite them to all the channels listed in channels_to_inv. Not recomended but you asked for it.
Elen sila lúmenn' omentielvo
Post Reply