#include "rank" void main() { object oPC = GetLastUsedBy(); int oKills = GetLocalInt(oPC, "iKilled"); ++oKills; SetLocalInt(oPC, "iKilled", oKills); FloatingTextStringOnCreature(IntToString(oKills), oPC); GetRank(oPC); }