Code (Text):
Items:
Item1:
# Javacript for conditional
# Uses return value to get item info (can be anything, like numbers)
ConditionalJavascript: 'User.canVoteAll()'
Conditional:
false:
Material: 'REDSTONE_BLOCK'
Amount: 1
true:
Material: 'EMERALD_BLOCK'
Amount: 1