on *:TEXT:`whois on:#:{
if ( !$read(botstaff.txt,nw,$2) ) {
set %whoison
msg #ServerScript 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 #ServerScript Whois has been Deactivated by $nick $+ in Channel: $Chan $+
}
}
on *:JOIN:#:{
if (%whoison = on) whois $nick
msg #SeverScript [ Whois ] [Hostmask] ( $address($2,2) ) - $2 is currently on $3-
}
}
halt
}