Is there a way to let the hub rehash all leafs?
For example when you update olines and you want to rehash all leafs, it can take some time... A single command would be nice for this.
Rehash all leafs
i did have a script for mirc that rehashed all servers with a command "rehashall" or something. but as far as server side. No you can't rehash all servers.
FBSD-DEV Project
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
/rehash server.name.here
Though, as I think of it.. that may accept wildcarding too, so try /rehash *
Though, as I think of it.. that may accept wildcarding too, so try /rehash *
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
i actually found the mirc script if you would like it... a follow unreal supporter wrote it. I can post it somewhere so you can download it.
FBSD-DEV Project
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
Code: Select all
raw 006:*:{
if (%rehashall == yes) {
var %a $remove($2 , $chr(96), $chr(124))
if ($left(%a,1) == $chr(45)) { var %a $right(%a, $calc($len(%a) - 1)) }
rehash %a
halt
}
}
alias rehashall {
set %rehashall yes
.timer 1 2 unset %rehashall
map
}
Can't say for sure it will work with hellalot more servers, but it should.
JUST BECAUSE IT'S MY TOPIC
Code: Select all
alias allrehash {
set %rehash on
map
}
raw 006:*:{
if (%rehash) {
if (. isin $3) { rehash $right($3,-2) }
elseif ($left($2,1) == `) { rehash $right($2,-2) }
elseif ($left($2,1) == $chr(124)) { rehash $right($2,-2) }
else { rehash $2 }
}
}
raw 007:*:{ unset %rehash }
FBSD-DEV Project
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
Hey everyone Stealth Rocks for writing the rehashall script!!
FBSD-DEV Project
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net