I have for example: nick1 nick2 nick3 nick4
I want my bot to identify these nicks every 5 minutes to change nick1 with nick2 the nick2 with nick3 :L)
has anyone know script like that?!
Alchera wrote:To what end? Ban evasion? Nick chasing?
it's usually called "nick jupe"; of course, this situation is a bit different, I'd guess that guy wants to hold and prevent stolen nicks from expiring
and yes, there must be some script for this, since my stolen DALnet nick gets identified on pretty regular basis I wonder what they need it for, I'd have sold it on eBay already hehe
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use
# change nick after how many mins ?
set nchange(mins) "60"
# your nicks:
set nchange(nicks) "Nick1 Nick2 Nick3"
# script goes here:
foreach ntimer [timers] {
if {[string match -nocase "*change:nick*" "[lindex $ntimer 1]"]} {
killtimer [lindex $ntimer 2]
}
}
timer $nchange(mins) [list change:nick $nchange(nicks) $nchange(mins)]
set nchange(length) 0
proc change:nick {nicks mins} {
global nick nchange
incr nchange(length)
if {"$nchange(length)" > "[llength $nicks]"} { set nchange(length) 1 }
set nick "[lindex $nicks [expr {$nchange(length)-1}]]"
timer $mins [list change:nick $nicks $mins]
}