Hi,
in XChat source 2.8.6 (even on SVN) there's a bug with -nofocus command which actually not working.
Here is the fix:
in file outbound.c, in functionopen_query (server *serv, char *nick, gboolean focus_existing), just replace new_ircwindow (serv, nick, SESS_DIALOG, 1); with new_ircwindow (serv, nick, SESS_DIALOG, focus_existing);
I'm using that fix on my own XChat build, and it's working.
2009-10-15 13:41:44 UTC in X-Chat