Can anyone make me a tcl script that would use chghost to change users host who have [WN]-* in their nick to xdcc.server.org . I've made the oper part already all i need is help to make this part.
if you are opper i suppose you could spoof there ips .. then ?? if the server supports spoof then use an specific ident and spoof the ips.. otherwize you could do this
bind raw * notice server:notice
proc server:notice {from keyword arg} {
set arg [string map {\\ \\\\ \[ \\\[ \] \\\] \{ \\\{ \} \\\} \( \\\( \) \\\)} $arg]
if {[string match -nocase "*Client connecting: \[WN\]-?????? *" [join [lrange $arg 0 end]]]} {
# your chghost syntax or what ever
}
return 1;# Required for server notices
}
also what servers are you using maybe you should consider using crypted hosts cause its about that right its to prevent tcp socket hijacking..
or let iroffer send a msg to the oper bot and let it set the host like that .. iroffer is able to do this !!! on connect on join channel .. and so on
if its just to hide there ip its usless dcc chat can resolve the ip using netstat -an .. also long ip is send to the user on dcc chat so you can easely resolve an ip from that.