27 lines
716 B
Plaintext
27 lines
716 B
Plaintext
//////////////////////////////////////////
|
|
//** Created By **Guile / Genisys**
|
|
//on 4/24/2008
|
|
//This script will check to make sure
|
|
//The player is playing a legal character
|
|
//By checking AC / Hit Points / Feats / Ability Scores
|
|
//Based Upon Level & Certain Classes
|
|
//Note this script will Spam the message to all DMs and thet Server Log if..
|
|
//The Player meets multiple Conditions, if it's only one message
|
|
//I would would investigate first.
|
|
//////////////////Main Script/////////////
|
|
void main()
|
|
{
|
|
//Declare Major Variables:
|
|
object oPC;
|
|
object oTarget;
|
|
object oItem;
|
|
oPC = GetItemActivatedTarget();
|
|
oTarget = oPC;
|
|
oItem = GetItemActivated();
|
|
|
|
if(!GetIsPC(oPC)) return;
|
|
|
|
ExecuteScript("cheatercheck1", oTarget);
|
|
|
|
}
|