Author Topic: On key match - remove key.  (Read 617 times)

Just need a simple event.

On key match - remove key.

on key mismatch - remove key


There is an event that will clear your tools but it will clear every item in your inventory. I just want the key used for the door to be removed from your inventory.

https://forum.blockland.us/index.php?topic=50671.0 Take a look.

If the download doesn't work search for "removeitem" on this RTB archive http://swololol.com/rtb


It works I guess.

But if I have a skeleton key and a yellow key in my inventory and I open the yellow door with the skeleton key, the yellow key gets removed.

I wanted the exact item used to open the door to get removed.

This just removes by name.