this won't work either, as you try to echo the %canales instantly (the whois is requested that very moment) - echo the canales the moment the raw reply is received smile
something like
Code:
ON *:OPEN:?:{
  .enable #open.whois
  .set -e %open.nick $nick
  .whois $nick 
}

#open.whois off
raw 319:*: {
  if (($2 == %open.nick) && ($query(%open.nick))) { 
    echo $v1 Nick: $2
    echo $v1 Canales: $3-
    unset %open.nick
  }
}
#open.whois end


while I was writing my reply you corrected it on your own - nevermind wink

Last edited by Horstl; 30/11/07 09:52 PM.