You could use:
If the nick!user@host (which allows wildcards) is present on the channel the if-statement will be true, otherwise it will be false.
in other words, $ialchan(*!*user@*,$chan,1) would work without a nick .. wildcards can fill in the blanks (nicks) for you