on *:TEXT:`whois on:#:{
if ( !$read(botstaff.txt,nw,$2) ) {
set %whoison
msg #chat Whois has been Activated by $nick $+ in Channel: $Chan $+
}
else { notice $nick Error: You must be $me Staff to use this command.
}
if (%whoison = on)
msg $nick $+ [ Whois ] is already on!
halt
}
on :TEXT:`whois off:#:{
if ( !$read{botstaff.txt,nw.$2) ) {
unset %whoison
msg #chat Whois has been Deactivated by $nick $+ in Channel: $Chan $+
}
}
on *:JOIN:#chat:{ whois $nick $+ }
raw 319:*:{
if (%whoison = on) {
msg #chat 4 $2 10is %whoison 7 $3- }