Try using my variant of the script code:
Code
alias -l my_channel { return #Alessandra }

on *:JOIN:$($my_channel):{
  if ($network == MindForge && *MindUser* !iswm $nick) { .enable #CHECKUSERS | whois $nick }
}

#CHECKUSERS off
raw *:*:{
  if ($numeric == 312 && *MindForge* iswm $1-) { .hadd -m cu-network $2 $true }
  if ($numeric == 330) { .hadd -m cu-logged $2 $true }
  if ($numeric == 318) {
    if ($hget(cu-network,$2)) {
      if ($hget(cu-logged,$2)) {
        if ($2 ison $my_channel) mode $my_channel +v $2
      }
      else .notice $2 Please, register/identify Your nick! Thanks
    }
    .hdel -sw cu-network $2 | .hdel -sw cu-logged $2 | .disable #CHECKUSERS
  }
  haltdef
}
#CHECKUSERS end


To simplify, it is enough to indicate the channel name only in the alias "my_channel".


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