Well, then, based on your requirements, you can try using this script:
Code
on *:SNOTICE:*Client connecting*: client_connecting $1-
alias -l client_connecting {
  var %cc_snotice $strip($1-)
  var %cc_server $gettok(%cc_snotice,1,58)
  if (palace.morphforest.com isin %cc_server) {
    var %cc_chan #Zen-Activity
    var %cc_user $gettok(%cc_snotice,2,58)
    var %cc_nick $gettok(%cc_user,1,32)
    var %cc_mask $remove($wildtok(%cc_user,*@*,1,32),$chr(40),$chr(41))
    var %cc_zline $+(*@,$gettok(%cc_mask,2,64))
    if ($istok(ErikMouse EricMouse norenxaq MFServ,%cc_nick,32)) {
      msg %cc_chan 10Сonnected: $+(,%cc_nick,) %cc_mask -> $+($chr(40),03,Good user,,$chr(41)) | halt
    }
    if ($istok(Troll Jester Fool Boob Dummy,%cc_nick,32)) {
      msg %cc_chan 10Сonnected: $+(,%cc_nick,) %cc_mask -> $+($chr(40),07,Local clown,,$chr(41)) | halt
    }
    msg %cc_chan 10Сonnected: $+(,%cc_nick,) %cc_mask -> $+($chr(40),04,Potential intruder,,$chr(41))
    .gzline %cc_zline +30d You came at the wrong time and fell under the distribution, the next attempt to get into our network you will have in 30 days.
  }
}


Last edited by Epic; 30/08/21 10:28 PM. Reason: additional fix in the code: %cc_zline

🌐 http://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples