No, you read it lol...
Syntax:
on <level>:OPEN|CLOSE:<?|@|=|!|*>:<matchtext>:<commands>
Code:
on *:open:?:*:/msg $nick Hi $nick
The * is the matchtext, the ? is to make it only trigger if it's a query opening.
It doesn't matter anyway, it will only trigger when someone else opens a query with him; he asked for something that triggers when HE opens a query with someone...