/q nick

Opens a query window with the nick, shortcut for /query nick