The code you suggest for the mobs talking would not compile. I took some basics from the Juka Lord and some of what you suggest Kyn and came up with a hybrid. How does this look?
Also I seem to be failing at using the code tags on the forum. HTML is obviously not my thing.
public static bool m_Talked;
public override void OnMovement(Mobile m, Point3D oldLocation)
{
if (m_Talked == false)
{
if (m.InRange(this, 3) && m is PlayerMobile)
{
string[] WeaponSmugglerSay = new string[]
{
"Your weapon will please The Dark One",
"I want your armor, it will make my job easier",
"The Dark One will take over these lands",
"I want you to die",
"The Dark One is Lord, embrace him",
"Drop to your knees and praise The Dark One",
"If you are not with The Dark One you are against him, prepare for WAR!",
"Please don't kill me",
"I am here by force, The Dark One is too powerful",
};
m_Talked = true;
this.Say(true, String.Format(WeaponSmugglerSay[Utility.Random(WeaponSmugglerSay.Length)]));
this.Move(GetDirectionTo(m.Location));
SpamTimer t = new SpamTimer();
t.Start();
}
}
}
public class SpamTimer : Timer
{
public SpamTimer()
: base(TimeSpan.FromSeconds(30))
{
Priority = TimerPriority.OneSecond;
}
protected override void OnTick()
{
m_Talked = false;
}
}