mIRC Home    About    Download    Register    News    Help

Print Thread
#66112 31/12/03 02:04 PM
Joined: Nov 2003
Posts: 84
S
Static Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Nov 2003
Posts: 84
Otay Im a admin on the network im on and i can see clients connecting and disconnecting I have this script that I parcely wrote parcely borrowed from
Code:
on ^*:SNOTICE:*** Notice -- Client connecting*:{
  if ($7 = port) { 
    /.CCliWin $asctime(10(04HH:nn:ss T10)) 10[9C10] 9 $+ $7-10 
  } 
  else { 
    /.CCliWin $asctime(10(04HH:nn:ss T10)) 10[9C10] 9 $+ $7 $8-9  
  }
  /halt
}

I was wondering how could I add in like a variable that I could build up with idents and hosts? some botnets use a certain ident and what not.
And because I know someone will want to see that alias
Code:
 Alias CCliWin {
  If ($Group(#clients).Status == On) {
    if ( $active != @Clients ) {
      /window -keg1 @Clients
    }
    if ($1) { /echo -i2 @Clients $1- }
  }
}
 


chat.irchat.tv
#Help #Trivia #Scripts
Co-Admin @ IRChat.tv
Joined: Jan 2004
Posts: 26
M
Ameglian cow
Offline
Ameglian cow
M
Joined: Jan 2004
Posts: 26
If you have permission to use that borrowed code, I'd suggest asking the author. Though here's an idea, use hash tables. Since you've borrowed the code, I'm not going to explain this, you'll have to figure it out on your own, sorry, that's just my view on "borrowed" code.


It's not in the GUI, it's in the source.

Link Copied to Clipboard