This is one way, the only one I can think of right now;
In Character.cs
Quote:
public DateTime TCStart;
public DateTime ACStart;
public DateTime BIStart;
public DateTime DCStart;
etc
|
Then when you use a TCScroll for example, or a NPC that gets you to TC, you do this;
Quote:
|
MyChar.TCStart = DateTime.Now;
|
Then at timerelapsed:
Quote:
if (MyChar.LastMap == 1002 && MyChar.CurMap != 1002)
{
MyChar.SendMessage("You have been in TC from " + MyChar.TCStart + " to " + DateTime.Now,2005);
}
|
Probably some bug, did the "codes" in this little message box.
Goodluck