{code} Kill Counts

From: Ben Britton (ben@SW2.K12.WY.US)
Date: 11/19/97


Im confused on a format real quick :

what would be the command that increments a number if a player kills
another player, or a player is killed by another player?

if (IS_NPC(ch))
  kills += 1;
  else
 pkills +=1;

would it go something similar to that?


-------------------------------------------------------
||                                                   ||
||  Ben Britton                                      ||
||                                                   ||
||  Email : ben@sw2.k12.wy.us                        ||
||  Mud : 198.59.205.25 4000                         ||
||  URL : http://wolf.sw2.k12.wy.us/                 ||
||                                                   ||
|| "I don't need drugs, my dreams are scary enough!" ||
||                -(unknown)                         ||
||                                                   ||
-------------------------------------------------------


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST