/
CVS/
boards/CVS/
clans/
gmc/CVS/
help/CVS/
include/CVS/
players/
progs/CVS/
races/CVS/
system/CVS/
text/
text/CVS/
todo/
todo/CVS/
units/CVS/
* General conventions for using GMC 1.0 with Grendel *


void onTick(external ch)
 - is called every second

void onAct(external ch, external target, string arg)
 - is called whenever 'ch' receives some action 'arg' from 'target'
 
void onFight(external ch, external target)
 - is called every fight tick
 
void onDeath(external ch, external target)
 - is called when 'ch' dies at the hands of 'target'

void onReset(external ch)
 - is called when 'ch' resets
 
void onGive(external ch, external target, external obj)
 - is called when 'target' gives 'obj' to 'ch'
 
bool onBlock(external ch, external target)
 - is called when 'target' tries to leave a room with 'ch' blocking
 
void onEmoteTarget(external victim, external actor, string arg)
 - is called when (e.g.) mob is target of an emote (e.g. 'slap <mobname>');
   'victim' is the target, e.g. the mob; 'actor' the person executing the emote
   (you, when you slap a mob); 'arg' will contain the emotename (Name:-field from
   system\socials.dat) (e.g. 'SLAP' when entry point action the default emote
   handling (as defined in checkSocial() in mudsystem.pas) will not be executed.