egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Invite System - Link?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Zorb
Voice


Joined: 17 Oct 2006
Posts: 22

PostPosted: Sun Jul 15, 2007 9:25 pm    Post subject: Invite System - Link? Reply with quote

I've already written the invite part so it does join a channel on invite.

On the server the bot is on it only allows you to be on 30 channels. So if the bot is on 30 channels I'd like it to tell the other bot to join the invited channel.

Now I'm not sure if you're suppose to link all the eggdrops up to achieve this or just use a notice or whatever.

If anybody knows could they please let me now in here.

Thanks.
Back to top
View user's profile Send private message
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Mon Jul 16, 2007 3:56 am    Post subject: Reply with quote

You can notice the other bot, with a specific keyword, notc, privmsg (bind msgm) with some specific keywords, and match that in the other bots tcl script, those keywords and the arguments after the keywords can be used for the channel name and argument of what to do, supposingly, "join" "part" "cycle" whatever.

Basically it can function as a relay bot. I made a basic script for a spam relay bot very long ago, not the best ones out there, but you can have a look at it, search "Private Spam" in the tcl section on egghelp.
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Zorb
Voice


Joined: 17 Oct 2006
Posts: 22

PostPosted: Mon Jul 16, 2007 4:17 am    Post subject: Reply with quote

How do I know when I'm on 30 channels to notice the bot?
Back to top
View user's profile Send private message
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Mon Jul 16, 2007 4:24 am    Post subject: Reply with quote

You will get a raw msg from the server, saying something like:

"Error: Too many channels" or
"Cannot join more channels"

Can be anything similar to this, depending upon your IRC network. Then you have to check your ircd, find the raw number for this numeric and script a code for that numeric, if the bind on that raw number activates, you send a notc or privmsg to some other bot, with your keywords and arguments and then, that bot will process it further (join, part channels).

For that you bind on notc, privmsg check and split the args properly and then
#channel add $arg
#channel remove $arg

and so on..
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber