ID:174703
 
how do i make it so only certain classes can equip certain items (armor, weapons, etc.)
obj
wand
verb
equip()
if(usr.class == "Wizard")
//equip stuff
else
usr << "You cannot equip this item!"


I did that all on the forums so you'll have to edit the indentation
In response to Koolguy900095
thnx