Originally Posted By: Tomao
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.


dude what you want to do is

on *:join:#:{
if $nick = $me {
/mwho
}
else { /whois $nick }
}

the else will whois anyone who comes into the channel after you have joined, becarefull tho your status will be mass flooded if you are in a popular channel and have lots of joins. good luck x