//Created by Genisys / Guile 5/20/08 #include "x2_inc_switches" void main() { object oPC; oPC = GetPCItemLastEquippedBy(); object ranger = oPC; object oItem; int nSlot; int a =GetLevelByClass(CLASS_TYPE_RANGER, ranger); //If not level 21 ranger unequip it! if(a<=20) { //Tell the PC why they can't equip it.. FloatingTextStringOnCreature("You must be at least a level 21 ranger to use this item!", oPC, FALSE); for (nSlot=0; nSlot