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 

[REQ] pass recruiting when join on chan
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
elisca
Halfop


Joined: 27 Jan 2007
Posts: 65
Location: in the middle of nowhere

PostPosted: Tue Mar 18, 2008 9:07 pm    Post subject: [REQ] pass recruiting when join on chan Reply with quote

anyone could help me to make it ?
the desc of script is ;

when someone join on chan, bot will greet them and ask the pass..
if they could answer it, bot didn't kick and ban them, if they ignore the pass after idle 1 minute bot will kick and ban them, if they give wrong pass bot will kick and ban them..
Note : add +f access to ignore from pass ask.. (especially for bot on the chan if they part/join)

Code:
example : (on scripts pass we set "haha")

bot   : welcome to #ok, this is vip chan, please type your password on chan..
user : !pass haha
bot   : the pass is correct, you are recognize as member, enjoy here !

bot   : welcome to #ok, this is vip chan, please type your password on chan..
user : !pass hihi
bot   : wrong pass (kick ban user *with msg)

bot   : welcome to #ok, this is vip chan, please type your password on chan..
user : *ignore the pass*
bot   : you have about 1 minute to enter your pass, or leave this chan !
user : *get kick and ban* after idle 1 minute and not give their pass


thanks in advance Smile
Back to top
View user's profile Send private message
iamdeath
Master


Joined: 11 Feb 2005
Posts: 323
Location: *HeLL*

PostPosted: Wed Mar 19, 2008 1:44 am    Post subject: Reply with quote

Ok for that you need to add every person in DCC userlist and assign him a password then what's the point of creating this script? When there is a similiar script in the Archive which wont allow anyone who is not added under a given flag or something like that. You should consider that script


Take a look at RanaUsmans Private channel script
peace
death

Note: Added URL ( edited the original post )
_________________
|AmDeAtH @ Undernet


Death is only the *Beginning*...
Back to top
View user's profile Send private message Visit poster's website
elisca
Halfop


Joined: 27 Jan 2007
Posts: 65
Location: in the middle of nowhere

PostPosted: Wed Mar 19, 2008 3:37 am    Post subject: Reply with quote

thanks for link death..

its take a much time to add all nick and host for each member.. furthermore they always use different nick and host..

all that i need here.. just one password as trigger so the bot will not kick and ban the user if they give a correct answer.. maybe similar like timebomb.tcl
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Wed Mar 19, 2008 3:48 am    Post subject: Reply with quote

Make the channel +k <key> ?
Back to top
View user's profile Send private message
elisca
Halfop


Joined: 27 Jan 2007
Posts: 65
Location: in the middle of nowhere

PostPosted: Wed Mar 19, 2008 5:17 pm    Post subject: Reply with quote

yes.. i have use this mode, but the problem is my bot clone from protection bot (i use Allprot script).. can not enter the chan after cycle Sad

any suggest ?
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Mar 19, 2008 8:57 pm    Post subject: Reply with quote

http://forum.egghelp.org/viewtopic.php?t=15390&highlight=channel+key
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
elisca
Halfop


Joined: 27 Jan 2007
Posts: 65
Location: in the middle of nowhere

PostPosted: Wed Mar 19, 2008 10:40 pm    Post subject: Reply with quote

thanks for link alchera..

as a clone bot from main bot, how I can set it ?
did i set this to main bot ?

Note : i can not telnet or enter the partyline from the clone bot..


(FYI I use allprot and active antispam mode, the main bot that i put this script create a clone bot when this mode has been active..)
Back to top
View user's profile Send private message
elisca
Halfop


Joined: 27 Jan 2007
Posts: 65
Location: in the middle of nowhere

PostPosted: Fri Mar 21, 2008 7:43 pm    Post subject: Reply with quote

any clue ?

*help*
Back to top
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Fri Mar 21, 2008 8:15 pm    Post subject: Reply with quote

can't you add the clone's hostmask to your main bot and give it the +f friend flag? Wouldn't this disable the clone protection?
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
elisca
Halfop


Joined: 27 Jan 2007
Posts: 65
Location: in the middle of nowhere

PostPosted: Fri Mar 21, 2008 9:34 pm    Post subject: Reply with quote

YooHoo.. i will try it..

I have try it, my clone bot can not enter the chan (+k mode active)
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Sat Mar 22, 2008 12:03 am    Post subject: Reply with quote

I thought that setting the channel key in the main bot's channel modes allowed the clone to enter keyed channel.
Back to top
View user's profile Send private message
elisca
Halfop


Joined: 27 Jan 2007
Posts: 65
Location: in the middle of nowhere

PostPosted: Sat Mar 22, 2008 12:23 am    Post subject: Reply with quote

thank's DragnLord, i will test is later..

I have test it..

Code:
(Bot invite-time: 60
11:22(Bot To get key (need-key):
11:22(Bot putserv "JOIN #test passwd"
11:22(Bot Other modes:
11:22(Bot      -inactive       +statuslog      -secret         +shared


my clone bot can not enter the chan after cycle
Back to top
View user's profile Send private message
elisca
Halfop


Joined: 27 Jan 2007
Posts: 65
Location: in the middle of nowhere

PostPosted: Tue Mar 25, 2008 11:41 am    Post subject: Reply with quote

hi.. need help here Sad
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Tue Mar 25, 2008 11:59 am    Post subject: Reply with quote

.chanset #channel chanmode +k key
Back to top
View user's profile Send private message
elisca
Halfop


Joined: 27 Jan 2007
Posts: 65
Location: in the middle of nowhere

PostPosted: Wed Mar 26, 2008 9:14 pm    Post subject: Reply with quote

DragnLord wrote:
.chanset #channel chanmode +k key


I have already do that, as u see on my previous post, my clone bot can not enter the chan.. that's the problem..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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