I tried your code and found no delays. It looks like you have some other script that is causing the delay. Try to localize the problem.
Install check in all scripts via to try to calculate the location of the problem and so that you can see the delay time when executing each script:
Code
/echo -s debug: $+(07,$scriptline,) - $+(06,$script,)

I have also optimized your code a bit if you find it useful to for experience:
Code
on 1:JOIN:#:{
  var %ticks $ticks
  set %addresslinked $remove($address($nick,2),*!*@)
  if ($count(%addresslinked,207.192.75.252,mibbit,kiwiirc,irccloud)) { halt }
  ;set %wildcard $readini(wildcard.ini,$remove($address($nick,2),*!*@),allnicked)
  ;set %wildnickeds $readini(wildcard.ini,$nick $+ allhosts,allhosts)
  ;set %nickcount $readini(wildcard.ini,%addresslinked,nickedcount) 
  if (%nickcount == $null) set %nickcount 1
  if (%wildnickeds == $null) set %wildnickeds %addresslinked
  echo 15 $chan $timestamp $nick has joined from %addresslinked there are %nickcount nicks for this IP: $+ %wildcard & Known ip's for $nick are: $+ %wildnickeds
  unset %addresslinked %wildnicks %wildnickeds %nickcount
  .echo -s debug: $+(04,$calc($ticks - %ticks),,ms) - $+(07,$scriptline,) - $+(06,$script,)
}


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