on $*:TEXT:/^[!@.](user|check|whois) */si:#: {
if ($address($2,2) == $null) {
/msg $chan $2 is currently Offline.
}
else {
set %whoisnick $replace($2-,$chr(32),$chr(95))
set %whoischan $chan
/msg $chan $2 is currently Online.
/msg $chan Address: $address($2,2)
enable #GroupRaw
/whois %whoisnick
}
}
#GroupRaw off
raw 319:*:{
if (!%whoisnick) { halt }
else {
msg %whoischan %whoisnick is on the channels: $remove($3-,@,%,+)
disable #GroupRaw
enable #GroupRaw
/whois %whoisnick
}
}
#GroupRaw off
raw 312:*:{
if (!%whoisnick) { halt }
else {
msg %whoischan %whoisnick is on the server: $3
unset %whoischan | unset %whoisnick
disable #GroupRaw
}
}