Here is the AccountAge class I use at my shard to check some special item only use-able by older player.
Install :
just drop this cs into any your customize script folder.
How to use :
at any item cs file. include this line :
and then check the age in your item onequip() or doubleclick() .... etc.
Code:
if (AccountAge.CanUseItem(oMobile,nMinimumRewardLevel))
{
return true; (or sendgump ... etc)
}
else
{
return false; (or somethng ....)
}
the nMinimumRewardLevel was base your system's reward setting. so, It's easy to fit your shard.
Enjoy ....
