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 

ip_hide 1.2 by kortexx change nick back to botnick?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
rosc2112
Revered One


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

PostPosted: Sun Feb 19, 2006 9:35 pm    Post subject: ip_hide 1.2 by kortexx change nick back to botnick? Reply with quote

Hi, quick question. I'm using ip_hide.tcl (or hide_ip as the script itself calls it) and want to modify it so that after it connects, authenticates to X on Undernet, and sets mode +x, it will change the bot's nick back to what I have configured in eggdrop.conf as botnick, *then* join the channel the bot lives on. The script seems to change back to the right nick *sometimes* but most of the time it still keeps the "iph####" random nick that is used in the script.

This is the content of the script, for reference:
Code:

bind evnt - connect-server iphconn
bind evnt - init-server iphinit

proc iphconn {type} {
global nick iphnick flood-msg iphfloodmsg

 foreach chan [channels] {
  channel set $chan +inactive
 }
 set iphnick $nick
 set nick "iph[rand 999999]"
 set iphfloodmsg ${flood-msg}
 set flood-msg 0:0
}

proc iphinit {type} {
global xuser xpass botnick

 putserv "MODE $botnick +x"
 putserv "PRIVMSG x@channels.undernet.org :login $xuser $xpass"
 bind notc - "AUTHENTICATION SUCCESSFUL*" iphlogged
 putlog "Waiting for authentication..."
 utimer 30 iphrelog
}

proc iphrelog {} {
global xuser xpass

 putserv "PRIVMSG x@channels.undernet.org :login $xuser $xpass"
 utimer 45 iphrelog
}

proc iphlogged {mnick uhost hand text {dest ""}} {
global nick iphnick flood-msg iphfloodmsg

 if {$mnick == "X"} {
  set nick $iphnick
  unbind notc - "AUTHENTICATION SUCCESSFUL*" iphlogged
  foreach chan [channels] {
   channel set $chan -inactive
  }
  if {[utimerexists iphrelog]!=""} {killutimer [utimerexists iphrelog]}
  set flood-msg $iphfloodmsg
 }
}
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Sun Feb 19, 2006 9:46 pm    Post subject: Reply with quote

Contact the script author.
_________________
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
CrazyEgg
Halfop


Joined: 28 Jul 2005
Posts: 47

PostPosted: Mon Feb 20, 2006 8:35 am    Post subject: Reply with quote

i used that script:

1. most of time remain indeed to iph3683
2. the bot doesnt recognise that it is in #channel
3. even with rehash didnt take the nickname from the conf back.Only due 3-4 restart and Only when the undernet service have a little lag comming functionable that script and i dont know why that.

personaly i remove the script and i have just a simple login script load.
If you really need that script cause the egg run on your own host and you have attack on it then Alchera gives you the correct answer.
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Wed Feb 22, 2006 5:16 am    Post subject: Reply with quote

I think the author is missing in action, so yeah I tossed the script too.. I just added what was suggested elsewhere, to put in a small proc in the bot's config file.. So far so good..As long as X doesn't disappear and the bot loses its masking. I'll have to look at some other scripts I saw in the archives that check every so often to make sure the hostname is still masked. I've only seen a few times that my own mask disappeared after X got split..
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 Support & Releases 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