This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Rangicus's profile picture

Names And Pim

Started by Rangicus, 19 September 2013 - 03:25 PM
Rangicus #1
Posted 19 September 2013 - 05:25 PM
So I got a mod called OpenPeripherals, and before you attempt to answer my question I ask for you to check it out.
I'm using the PIM, and I want a door that when I and only I step on it (as in no other player) the door opens. I used getInvName() and when I stepped on it, it returned 'container.inventory' and I was wondering if you could retrieve a name from that possibly.

Btw, here is my code:
immibis #2
Posted 19 September 2013 - 05:28 PM
No, you can't. "container.inventory" is literally the text "container.inventory", it doesn't give you any other information.
Rangicus #3
Posted 19 September 2013 - 05:33 PM
Hmm that sucks, I'll have to try to ask Mikee about that.