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 

Forcing users to ident to the bot

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


Joined: 21 Oct 2009
Posts: 34

PostPosted: Sun Mar 03, 2013 12:18 pm    Post subject: Forcing users to ident to the bot Reply with quote

Hello everyone,

got a question, but i dont even know if its the right approach.

I have my bot on an Unrealircd, where people can get any ident@vhost they they want.

Is there a way to set the eggdrop to only recognize users after they have /msg bot ident instead of just the nick!ident@host.name?

Also an issue is that many of the users have a dynamic IP, so there is always a chance that someone else might get the same hostname even if they dont use any form of vhost?

Or maybe a better solution would be if the bot would only remember a host for a limited period of time, say like 1 - 2 days, so if later a user joins, he would have to ident to the bot to be recognized?

I'm not looking for a TCL script for this, i just want to know if there is some sort of solution using a vanilla eggdrop.

Cheers.
Back to top
View user's profile Send private message
Madalin
Master


Joined: 24 Jun 2005
Posts: 310
Location: Constanta, Romania

PostPosted: Sun Mar 03, 2013 12:36 pm    Post subject: Reply with quote

The best way for what you have its an authentification script. The best solution for you is a&a script you can get it from wget wget.ascript.name if you have problems you can ask me and i will help you. It has alot of commands and its the best way for you
_________________
https://github.com/MadaliNTCL - To chat with me: https://tawk.to/MadaliNTCL
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
LoKii
Voice


Joined: 21 Oct 2009
Posts: 34

PostPosted: Sun Mar 03, 2013 3:08 pm    Post subject: Reply with quote

I already have that one from the a&a site, and it looks very promising for another project that I am interested in. But just to clarify the qustion above, if there is a vanilla solution, or only via an external script?

Just on a side note here, as you have also seen i have asked a couple of things in the script-help section. My goal is not to get a ready solution, but rather to create my own scripts. I am more interested in learning how to do these things on my own rather than just take ready scripts.

Thank you very much though for your help Wink
Back to top
View user's profile Send private message
Madalin
Master


Joined: 24 Jun 2005
Posts: 310
Location: Constanta, Romania

PostPosted: Sun Mar 03, 2013 4:05 pm    Post subject: Reply with quote

You will learn to script if you look in other scripts. Its easier that way to learn. See how things work in other scripts.

And no i don`t know any simple way for what you want. The best way is an authetification script.
_________________
https://github.com/MadaliNTCL - To chat with me: https://tawk.to/MadaliNTCL
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sun Mar 03, 2013 5:31 pm    Post subject: Reply with quote

LoKii wrote:

...
My goal is not to get a ready solution, but rather to create my own scripts. I am more interested in learning how to do these things on my own rather than just take ready scripts.
...


Do this little course, beginning to end. It helps one to get started.
http://suninet.the-demon.de/

Bookmark these - you need them:
http://www.tcl.tk/man/tcl8.5/TclCmd/contents.htm

http://www.eggheads.org/support/egghtml/1.6.21/tcl-commands.html


Also:
http://www.peterre.info/characters.html


I hope this helps.
Back to top
View user's profile Send private message
LoKii
Voice


Joined: 21 Oct 2009
Posts: 34

PostPosted: Mon Mar 04, 2013 3:04 am    Post subject: Reply with quote

@ Madalin : Yes, ofc you are right about looking at other scripts Smile

Since you didnt know about a vanilla way for what i want, i actually went ahead and set up the a&a on a test egg on my local test server. It is indeed an impressive script. And when it comes to the authentication, it is exaclty what i was looking for. I am still trying to get the hang of the a&a as it is really huge. I guess that studying that code will help me on my own little project. Thank you for your help Smile

@ willyw : Yeah, i have already gone through the links that you have pasted some time ago, and I use them on a daily basis. Thanks for your input though Smile

I will keep you all posted when i have something of my own to show for Wink

Cheers.
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 -> Eggdrop 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