ah messed with it a bit
alias cschecker2 { if (q isin $chanmodes) { echo -a no } else { echo -a yes } }
that one works