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 

random identd and vhost

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Arnold_X-P
Master


Joined: 30 Oct 2006
Posts: 221
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Sun Apr 19, 2015 7:50 pm    Post subject: random identd and vhost Reply with quote

a lot of time behind I found this tcl which supposedly
change the identd to identd random and it is interesting the bad thing is that it does not work it tries to change the identd but it does not achieve it

the ideal thing would be that it changes the vhost and identd whenever it gets connected to a server
so the abuses would be avoided in vhost clones (clones for vhost)

skylight using these variants ::::

variable ident "ReeBoT SuperBoT Android YoRoboT Walle"
variable vhost "xtreme.org static.ocp.net optupus.ix.net red.and.red.org"

some friend who helps me with this idea to modify this tcl
and that works to the style randon so much for identd and vhost
Code:

namespace eval oident {

   namespace eval variable {
      #Set this to your idents you like to use with this Eggdrop
      variable ident "ReeBoT SuperBoT Android YoRoboT Walle"
      #Set this to the full path of your .oidentd.conf [/home/username/.oidentd.conf]
      variable conf "/home/robots/kantuta/.oidentd.conf" 
   }
   bind evnt - connect-server [namespace current]::setident

   proc setident {type} {
      set file [open $::oident::variable::conf "w"]

      if {[llength $::oident::variable::ident] == 1} {
         set ident "$::oident::variable::ident"
      } elseif {[llength $::oident::variable::ident] > 1} {
         set ident "[lindex "$::oident::variable::ident" [rand [expr [llength $::oident::variable::ident] - 1]]]"
      }
      puts $file "global { reply \"$ident\"}"
      close $file
      putlog "\002OIdent\002 cambiando Identd a $ident"
   }
}   
putlog "oidentd.tcl Version 1.0 coded by Stephan Brendel loaded Edited by \002W\002ebsite: http://sp00fed.org"

_________________
Very Happy thanks to that they help, that others learn Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting 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