Code: Select all
set MyIP ""
foreach a {a b c d e f g h i j k} {
catch {
set external [socket $a.root-servers.net 53]
set MyIP [lindex [fconfigure $external -sockname] 0]
close $external
}
if { ![string equal $MyIP ""] } { break }
}
Code: Select all
proc myIP {} {
set s [socket -server "" -myaddr [info hostname] 0];
set ip [lindex [fconfigure $s -sockname] 0]
close $s
set ip
}
So, with the settings given in your original post or without any settings for my-ip and my-hostname, the bot dies?prefect wrote:egghead wrote:Are you saying the bot dies? Or it won't connect to IRC?prefect wrote:Oh, maybe I was unclear.
The bot does not start and it gives me the hostname self-lookup failed.No diceegghead wrote: What if you do not set "my-ip" and "my-hostname" i.e. leave them commented out?
I think you missed my "i've been running eggdrops since the mid 90s"'s comment, but I appriciate you trying to help.egghead wrote: So, with the settings given in your original post or without any settings for my-ip and my-hostname, the bot dies?
If you start the bot from the shell, can you paste say the last 10 lines the bot reports in the shell?
No, I will not use a branch of eggdrop thats supposed to be stable, but where the developers decide to drasticly alter things. Things that ends up breaking the bot.caesar wrote:If you don't *like* the .15 then try the .13 version. I haven't got problems with this version.. Untill now it seemed to be perfect for me.
I don't care how long or short you have been running eggdrop bots. You came here for help, which people try to give. Instead you now turn on an attitude which is barely appreciated.prefect wrote: I think you missed my "i've been running eggdrops since the mid 90s"'s comment, but I appriciate you trying to help.
And don't preach to me that 1.4.5 is old and that I should run 1.6.x.
Nobody forces you to run an 1.6.x bot.prefect wrote: 1.6.x seem to have forgotten that it's supposed to be a stable branch with developers doing heavy modifications that breaks the bot, i.e. 1.6.15
Yes, please, feel free to do that. Thank you and goodbye.prefect wrote: I'll seek help elsewhere.