cvars:
______________

   sv_eventlog                    master switch (default: 0)
   sv_eventlog_files              print frags, scores and captures for separate files each match (default: 0)
   sv_eventlog_console            print frags, scores and captures to serverconsole during the match (default: 1)
   sv_logscores_bots              choose whether bot are included in stats or not (default: 0)
                                
   sv_eventlog_files_counter      number of matches logged until now
   sv_eventlog_files_nameprefix   file name prefix to be used (default: nexuiz)
   sv_eventlog_files_namesuffix   file name extension to be used (default: .log)

log format:
______________

   :logversion:2
   :gamestart:<gametype>_<mapname>:<matchid>
   :gameinfo:mutators:LIST:mutator1:mutator2:...

      (note that mutators are listed by their cvar name with g_ removed,
      unless such a cvar is 1 by default - then the mutator is listed with
      a no_ prefix if the cvar is 0)

   :gameinfo:end
   :join:<ID>:player:<nickname>
   :join:<ID>:bot:<nickname>
   :part:<ID>
   :team:<ID>:<team>
   :kill:frag:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>
   :kill:tk:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>
   :kill:suicide:<ID>:<ID>:type=<death type>:items=<itemstring>
   :kill:accident:<ID>:<ID>:type=<death type>:items=<itemstring>
   :ctf:steal:<flagcolor>:<ID of attacker>
   :ctf:dropped:<flagcolor>:<ID of dropper>
   :ctf:pickup:<flagcolor>:<ID of attacker>
   :ctf:capture:<flagcolor>:<ID of attacker>
   :ctf:return:<flagcolor>:<ID of defender>
   :ctf:returned:<flagcolor>
   :dom:taken:<previouscolor>:<ID of player>
   :scores:<gametype>_<mapname>:<map runtime>
   :player:<frags>:<deaths>:<playtime>:<team>:<ID>:<nickname>
   :restart
   :end
   :gameover

   Note that only the :join and :player lines ever contain player names.

team colors:
    1 = No Team (Domination)
    5 = Red Team
   14 = Blue Team
   10 = Pink Team
   13 = Yellow Team

itemstring:
   <weaponid><flags>
   or
   <weaponid><flags>|<runes>

   where flags can contain:
         F = player carries the flag
         S = player has strength
         I = player has the shield
         T = player is typing (console, menu or chat)
   
   and weapon IDs are:
         1 = Shotgun
         2 = Uzi
         4 = Mortar
         8 = Electro
        16 = Crylink
        32 = Nex
        64 = Hagar
       128 = Rocket Launcher
      4096 = Laser

   runes/curses are stored as a bit mask with the following values:
         1 = Strength
         2 = Defense
         4 = Regeneration
         8 = Speed
        16 = Vampire
      8192 = Weakness
     16384 = Vulnerability
     32768 = Venom
     65536 = Slow
    131072 = Empathy

death type:
   either a weapon ID (see above), or one of:
     10000 = fallen to death
     10001 = telefragged
     10002 = drowned
     10003 = killed by a trap / fallen into the void
     10004 = lava
     10005 = slime
     10006 = console kill
     10007 = (MinstaGib) out of ammo
     10008 = swamp
     10009 = team change
     10010 = auto team change
     10011 = camping protection
	 10012 = player became too fast (should never happen)

There will be a log analyzer parsing this file format soon. Note that weapon
IDs are below 10000.
