; Show what channel people are on when they join.
on 1:join:*:{
if (( $nick != $me ) && ( %nowhois != 1 )) {
.raw whois $nick
set -u5 %enterchan $chan
}
}
alias whois {
.disable #joinwhois
.raw whois $1-
.timerjoinwhois 1 10 /.enable #joinwhois
set -u10 %nowhois 1
}
; Modification for Whois, to show channel joins. Must be before other whois mods, so that it can halt before they run.
#joinwhois on
; Ignores newsflash
; raw 343:*:halt
raw 301:*:halt
raw 307:*:halt
raw 308:*:echo %enterchan $2- | halt
raw 309:*:echo %enterchan $2- | halt
raw 310:*:echo %enterchan $2- | halt
raw 325:*:echo %enterchan $2- | halt
raw 311:*:halt
raw 312:*:halt
raw 313:*:halt
raw 317:*:halt
raw 318:*:halt
raw 319:*:{
/notice jonnykong %enterchan *** $2 on $3-
halt
}
#joinwhois end