ID:180093
 
here is my code

inventory and stat code

statpanel("Stats")

stat("Health:",src.health_meter)
stat("Magic:",src.magic_meter)
stat("Exp",Exp)
stat("Exp to next",Maxexp)
stat("Level",Level)
stat("Gold",Gold)
stat("Kill's",Kill)
stat("Attack",damage)
statpanel("Inventory")
stat("------Wepons-------")
stat("Equiped:",equiped)
stat("------Inventory------")
stat(contents)

sword code

obj/items/Sword_Flame
icon = 'weps.dmi'
icon_state = "flame"
verb
Equip()
set src in usr
if(usr.equip >= 1)
usr << "allready have somthing equiped"
else
usr.damage += 70
usr.equip += 1
src in usr.equiped
usr << "Sword is now equiped"
Un_Equip()
if(usr.equip == 0)
usr << "You don't have anything equiped"
else
usr.damage -= 70
usr.equip = 0
src in usr.contents
usr << "Unequiped sword"

it has no errors but it dont go to the equiped part when you equip it