Code:
 on @*:join:#:{
if $nick == <friend's nick> {
.mode $chan +o $nick
}
}
 


Put this in YOUR remotes and change <friend's nick> to the person's actual nick.

I suggest doing it this way if you only have one or two nicks to be checked. If there's, say, 5 or more nicks to be checked, say so, and I'll do up a slightly different code.