on *:TEXT:!whois*:#: {
if (nick isop $chan) {
if (*on* iswm $2-) { writeini whois.ini status $chan on | msg $chan On join whois is now on { halt }
if (*off* iswm $2-) { remini whois.ini status $chan | msg $chan On join whois is now off { halt }
}
}
}
}
on *:Join:#: {
if ($readini(whois.ini,status,$chan) == on) {
set %whois $chan
whois $nick {
else { halt }
}
}
}
raw 319:*:{
if (%whois) {
msg %whois 13 $2 12 is on: 4 $3-
unset %whois
unset %nick*
}
}
no errors returned just wont work