1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
26
  
27
  
28
  
29
  
30
  
constant cvs_version = "$Id$"; 
#include <module.h> 
inherit "module"; 
 
constant excuses = ({ 
  "clock speed ", 
  "solar flares ", 
  "electromagnetic radiation from satellite debris ", 
  "static from nylon underwear ", 
  "static from plastic slide rules ", 
  "global warming ", 
  "poor power conditioning ", 
  "static buildup ", 
  "doppler effect ", 
  "hardware stress fractures "}); 
constant size = sizeof(excuses); 
 
constant module_type = MODULE_PARSER; 
constant module_name = "BOFH Module"; 
constant module_doc  = "Adds the tag &lt;bofh&gt;, which generates an excuse reason."; 
constant module_unique = 1; 
 
string tag_bofh() 
{ 
  return excuses[random(size)]; 
}