This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

CHGHOST on Connect

Old posts that have not been replied to for several years.
Locked
K
Kytx

CHGHOST on Connect

Post by Kytx »

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.

-TestServer.ORG- *** Connect/Exit -- from TestServer.ORG : Client connecting: [WN]-FFF932 (~wn@83.146.32.43) [83.146.32.43] [daz]
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Using a bind raw add your chghost thing there. Search the forum and don't be lazy.
Once the game is over, the king and the pawn go back in the same box.
K
Kytx

Post by Kytx »

caesar wrote:Using a bind raw add your chghost thing there. Search the forum and don't be lazy.
I have searched but cant find any
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

caesar wrote:Using a bind raw add your chghost thing there. Search the forum and don't be lazy.
Haha, i rememer that i asked you how to do similar script like this one :P

I remember that you said, that i must get server notice when client is connecting, then check if nick is x, and then bot set host y to nick x :mrgreen:
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

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

Code: Select all

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.
XplaiN but think of me as stupid
Locked