Hi, im doing a little thing with a npc that give you a key when you pay it. Ok, i dont know how i can set [b]value key[b] from this "give item".
Maybe with a gump 0, "done" and SETONCARRIED.... but i wanna know the way for do that from "give"
You can check this screenshotIm a little confused, i'm sorry i know my english is bad.
Thanks, Rai.
I got it

I changed to this action:
CODE |
TAKEBYTYPE,1,10/gold; GIVE/<key/name/Llaves/description/"Llaves de la posada"/keyvalue/12> |
Ok, i got a little system that if you buy key of room, the npc set stackable door to true. When u give back the key it will change to false.
How can i do the condition: if stackable door true, text: no room available!
This easy system works, i think, with one door...but, what is the way for do that with a lot of doors/rooms?
Thanks, rai.