Blockland Forums > Suggestions & Requests

Variable replacer to check a player's entire inventory.

Pages: << < (2/2)

Lugnut:


--- Quote from: Scriode on December 29, 2013, 08:19:37 PM ---Honestly you'll get more help over there. That's where people that are willing to do this kind of stuff linger.

--- End quote ---
no, that's for existing projects and stuff. if he jsut drops by asking for people to make it he isn't going to get a good response - that's just how people try to handle things over there

Advanced Bot:

registerSpecialVar(Player,"currentItem","%this.getMountedImage(0).uiName");

registerSpecialVar(Player,"item0","%this.tool[0].uiname");
registerSpecialVar(Player,"item1","%this.tool[1].uiname");
registerSpecialVar(Player,"item2","%this.tool[2].uiname");
registerSpecialVar(Player,"item3","%this.tool[3].uiname");
registerSpecialVar(Player,"item4","%this.tool[4].uiname");

Or

registerSpecialVar(Player,"itemAll","%this.tool[0].uiname SPC %this.tool[1].uiname SPC %this.tool[2].uiname SPC %this.tool[3].uiname SPC %this.tool[4].uiname");

If this one doesn't work, try removing the SPC's.

.::Taboo::.:


--- Quote from: Advanced Bot on December 30, 2013, 03:23:58 AM ---registerSpecialVar(Player,"itemAll","%this.tool[0].uiname SPC %this.tool[1].uiname SPC %this.tool[2].uiname SPC %this.tool[3].uiname SPC %this.tool[4].uiname");

--- End quote ---
Worked perfectly, thanks.

Pages: << < (2/2)

Go to full version