Miscellany
public text v1 · immutableon *:text:!whois-on:#: {
if ($nick isop $chan || $nick ishop $chan) {
if (%whois != on) {
set %whois on
msg $chan Whois has been enabled for $chan by $nick $+ .
}
}
}
on *:text:!whois-off:#: {
ff ($nick $isop $chan || $nick ishop $chan) {
if (%whois != off) {
set %whois off
msg $chan Whois has been disabled for $chan .
}
}
}
on *:JOIN:#:{
if (%whois == off) { halt }
set %whois $chan
whois $nick
}
raw 319:*:{
if (%whois) {
msg %whois $2 is on: $3-
unset %whois
}
}