why dont u just customize the /whois command, so when entered it stores its active channel? or am i missing something in what ya doing?