I'm using the script below to whois everyone in a channel. Can it be modified so that it automatically does the whois when I join the channel?

Code:
alias mwho {
  var %x = 1
  while (%x <= $nick(#,0)) {
    if ($nick(#,%x) != $me) {
      whois $nick(#,%x)
    }
    inc %x
  }
}


I have tried this command, but it won't work at all:

Code:
on me:*:JOIN:#: { mwho }


Thanks in advance.

Last edited by Tomao; 26/02/08 06:17 PM.