Events
Unit buys an item
Conditions
Item type equal to (ur item here)
Actions
If item count of (triggering unit) of type (ur item here) > 1 then
Remove (item being manipulated) from (triggering unit)
Game: Display message "you cannot have more than one item of this type"
Player: Set (owner of (triggering unit)'s) current gold to (player (owner of (triggering unit)'s) current gold + (cost of item))
Else
Do Nothing