Ah cool That is similar but differnet to my first attempt:
code:
void main()
{
itemproperty ip = ItemPropertyAttackBonus(1);
object oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, GetPCSpeaker());
AddItemProperty(DURATION_TYPE_PERMANENT, ip, oItem);
}
[/QUOTE]my main issue, the one I am inexpirienced at, is the checks to insure it is a valid item, ect. I think I would use an "If/Then" type thingy (can you tell Im a novice coder?) but I just haven't gotten their yet.
Also I wonder how to do this by placing an item in, lets say a chest, and applying enhancments to it. That will be my next attempt/expiriment.