Heres what I want to do: Have a representational value of an item set to 0 when the item is created. Then, when you examen the item, it does some echo and sets the value to 1. Then, if it is examned again, it does some different echo and sets the item to 0 again. I tried this:
if objval(5) = 0
if objval5(<vnum>) = 0
if objval5(<keyword>) = 0
All of these are returning an "unknow ifcheck error", but when I went into the code, the ifcheck for "objval5" is there and seems to do what I would want it to. This has also somehow turned my object into a noteboard that you can wear on your back.
Any help on this problem would be appriciated.
Well, I fixed this problem by writing two new commands that do what I wanted it to. However, while I was writing the commands, I stumbled across an Idea for a permanent flag, ie the equiptment never is removed, never scraps, doesn't dt etc. Heres my editing of the making a corpse code:
That code makes sense to me, the continue, unfortunately, I tested it and the item dissapears. Instead of remaining on the character or in the corpse, it simply dissapears. Not sure why this is... any ideas?