Blockland Forums > Modification Help
Inventory Commands
phflack:
are there any commands for the inventory? like getting the current slot, current item name, and switching to a slot number? or a way to see what is in each slot without swapping items? (from a scripting view, not player view)
Superb:
--- Quote from: phflack on December 29, 2011, 04:39:53 PM ---are there any commands for the inventory? like getting the current slot, current item name, and switching to a slot number? or a way to see what is in each slot without swapping items? (from a scripting view, not player view)
--- End quote ---
Yes, both client sided and server sided.. which one are you trying to do?
phflack:
all would be helpful
otto-san:
Serversided:
serverCmdUseTool(%client, %slot)
serverCmdUnUseTool(%client)
%client.slot[(slotnum)] (ie %client.slot[%client.currtool])
%client.currtool
I'm not entirely certain of anything client-sided, so I guess telling you wouldn't be a great idea. Wouldn't want to give false information, now would I?
phflack:
hmm, the annoyance of making client mods is that i can't do everything the server can :I