Code:
on 1:JOIN:#Channel: {
  if ($nick == Somenick) {
    ctcp $nick Version
    enable #Version
  }
}

#Version on
on *:ctcpreply:version*: { commands }
#Version end