| View previous topic :: View next topic |
| Author |
Message |
Gust Voice
Joined: 28 Jun 2006 Posts: 15
|
Posted: Sun Jul 23, 2006 7:10 am Post subject: eggdrop recognize wrong hostname |
|
|
Hey all,
I wrote an invite script, so members can ask invite voor a secret invite-only channel...
Everthing is working fine, excepts som users come to the channel first, and then log in on the IRC-server. Because of the login, there hostname changes...
But the bot recognize them with the hostname they joined the channel with..
How can i make that the bot recognize hostname changes, and so recognize the users with their new hostname?
thanks! |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Jul 23, 2006 6:23 pm Post subject: |
|
|
You should show us what you've written so we would know what changes you need to apply to your script for it to properly work. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Gust Voice
Joined: 28 Jun 2006 Posts: 15
|
Posted: Mon Jul 24, 2006 2:04 am Post subject: |
|
|
| Sir_Fz wrote: | | You should show us what you've written so we would know what changes you need to apply to your script for it to properly work. |
It is nothing in the script... The scripts works fine.
I have in my script the following line:
| Code: | | append ident "*!*" [getchanhost $nick $chan] |
When users join the channel (not logged into the IRC-server) they have a hostname like:
| Code: | | *!*~POCT@D513F239F586ADF5.Omerta.cloak |
However, when they log into the IRC-server, there hostname changes to:
| Code: | | *!*~POCT@Gust.users.barafranca.com |
but the outcome of the getchanhost-line of code will still be like the first hostname. So the bot doesn't recognize the change of hostnames...
How can i solve that? |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Mon Jul 24, 2006 3:23 am Post subject: |
|
|
| have users login to ircd before joining channel |
|
| Back to top |
|
 |
Gust Voice
Joined: 28 Jun 2006 Posts: 15
|
Posted: Mon Jul 24, 2006 10:53 am Post subject: |
|
|
| DragnLord wrote: | | have users login to ircd before joining channel |
Yeah, that is a solution that i could think myself.
But most users have there login and channel join thingy in the perform script of their mIRC, so not really a solution...
There should be a way that eggdrop recognize a hostname change... Because if he didn't, how can the eggdrop ban a user is nessescary?
So DragnLord, no offense, but that solution isn't a right one...
Another idea? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Jul 24, 2006 3:21 pm Post subject: |
|
|
If there's a certain quit-message when the user registers, then you can implement a proc which will be triggered on quit and make the necessary changes over the user's hostname. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Gust Voice
Joined: 28 Jun 2006 Posts: 15
|
Posted: Tue Jul 25, 2006 3:45 am Post subject: |
|
|
Do you hare more information about that?
I don't think there is a quit message when users log in, because when they are on the channel and give the /hop-command, the eggdrop recognize the hostname change...
Last edited by Gust on Tue Jul 10, 2007 2:42 pm; edited 1 time in total |
|
| Back to top |
|
 |
Gust Voice
Joined: 28 Jun 2006 Posts: 15
|
Posted: Tue Jul 10, 2007 2:29 pm Post subject: |
|
|
This problem still isn't solved... I have tried to live with it, but my bot is used more and more, so the problem is beginning to start really annoying!
Maybe somebody have an option to solve this problem? |
|
| Back to top |
|
 |
|