Here is the Code in question.
obj/var/equip = 0
mob/var/maxequip = 0
obj/Equipment
SwordofDarkDestruction
icon='Equipment.dmi';icon_state="1";name="Sword of Dark Destruction"
suffix="Att +400 / Def -200 "
DblClick()
if(usr.maxequip==5)
usr<<"You can't have over 5 equipment cards equipped."
usr.maxequip=5
else
if(src.equip==0)
suffix="Att +400 / Def -200 (Equipped)"
src.equip=1
usr.maxequip+=1
else
suffix="Att +400 / Def -200"
src.equip=0
usr.maxequip-=1
mob/verb
MaxEquip_Edit(N as num)
usr.maxequip=N