Lyqyd, on 29 March 2013 - 06:49 AM, said:
I'm not at all certain about detecting what's in the hand, but the proximity sensor will give you the contents of a player's inventory. Try using a proximity card in a sensor and running `ocs/programs/sensorview`. Use the arrow keys to navigate sides/targets until you get to your player, then use PageUp/PageDown to scroll through the detailed info (requires disabling NEI; hit O in inventory screen by default). You should be able to see their whole inventory, and you can check to see if it will tell you what is currently selected.
Mikeemoo, on 29 March 2013 - 06:45 AM, said:
The proximity sensor does that.
Bah, I thought I looked for that and saw nothing..my bad xP I never scrolled down..deeeeerp