public override void onSpawn() { base.onSpawn(); if (Template.agro_range > 0) { AICharacter.Enable(); } SpawnX = X; SpawnY = Y; SpawnZ = Z; //socialTask = new System.Timers.Timer(); //socialTask.Interval = rnd.Next(10, 30) * 1000; //socialTask.Elapsed += new System.Timers.ElapsedEventHandler(SocialTask); //socialTask.Enabled = true; }