Code:
on *:JOIN:#: {
  if (smallworld isin $chan) && ($nick($chan,0) >= 2) { set -u5 %chan # | refresherr }
}

refresherr { 
  .timer 1 1 hop %chan
}


The # character was still trying to return a channel name in the refresherr alias, which was returning $null