Code:
 
alias check {
  ison $$1-
  set -u10 %check.ison.flag $true
}
raw 303:*:{
  if (%check.ison.flag == $true) {
    unset %check.ison.flag
    whois303 $$2-
  }
}
alias whois303 {
  whois $$1
  .timer 1 1 whois303 $$2-
}


I made a mistake on the timer before should be 1 1 (as above) not 0 1 (thanks Iori for the point out, else i would have copied it here without looking)