Well in an mIRC script, # is translated to "the current channel" so when you do /who # from a script it will do /who #the_current_channel which makes the server give you info about everyone on the current channel.