alias whoisnum { return 301|307|310|311|312|313|314|317|318|319|320|330|335|338|369|378|401|406|413|671 }
alias mwhois { $iif($1,set %thing msg $active,set %thing echo -a) | whois $$1 }
raw 311:*:{ haltdef | %thing 4[•14 Whois for $2 ( $+ $3- $+ 14) 4•] }
raw 378:*:{ haltdef | %thing 4[•14 $2 is connecting from $7- 4•] | halt }
raw 301:*:{ haltdef | %thing 4[•14 $2 is away ( $+ $3- $+ ) 4•] }
raw 319:*:{ haltdef | %thing 4[•14 $2 is on these channels: $3- 4•] }
raw 312:*:{ haltdef | %thing 4[•14 $2 is using the server $3- 4•] }
raw 313:*:{ haltdef | %thing 4[•14 $2 is an oper - $5- 4•] }
raw 317:*:{ haltdef | %thing 4[•14 $2 has idled for: $duration($3) and has been logged on since $time($4) 4•] | halt }
raw 671:*:{ haltdef | %thing 4[•14 $2 is using a Secure Connection (SSL) 4•] | halt }
raw 379:*:{ haltdef | %thing 4[•14 $2 is using the modes $6- 4•] | halt }
raw 320:*:{ haltdef | %thing 4[•14 $2 Other: $3- 4•] | halt }
raw 310:*:{ haltdef | %thing 4[•14 $2 Other: $3- 4•] | halt }
raw 307:*:{ haltdef | %thing 4[•14 $2 has identfied themselves 4•] | halt }
raw 318:*:{ haltdef | %thing 4[•14 End of whois for $2 4•] | unset %thing | halt }