Hello everyone! I'm looking for some help.
I'm wanting to create a moongate or teleporter that checks how old your account is and if you have more account days than "X", you won't be able to use this moongate to travel.

An example of what I want to create, If a player's account has more than 10 days old, he couldn't travel by using this Moongate, but if it has less than 10, he can travel.

I'm thinking of how can I make it, Do someone have any idea?

Thanks :)
 
Probably something like:
Code:
TimeSpan totalTime = (DateTime.Now - acct.Created);
if ( m.totalTime >= 15 )
{
m.SendMessage( "You are not a new player" );   
return true;
}
 
Back