#Trying to make a quest shop where it uses a %ecobits_eventpoints% to unlock quests.

1 messages · Page 1 of 1 (latest)

sacred stratus
#

left_click_requirement: requirements: type: '>=' input: '%ecobits_eventpoints%' output: '1' deny_commands: - '[message] &cYou don''t have enough eventpoints for this!' success_commands: - '[console] ep take %player_name% 1!' - '[message] &ayou have unlocked a quest!'

#

not too sure if i've done this correct at all

sacred stratus
#

Still trying to figure this out and nothing is working.

fickle ether
#
  left_click_requirement:
      requirements:
          type: '>='
          input: '%ecobits_eventpoints%'
          output: '1'
      deny_commands:
        - '[message] &cYou don''t have enough eventpoints for this!'
  left_click_commands:
    - '[console] ep take %player_name% 1!'
    - '[message] &ayou have unlocked a quest!'
#

Requirements (which include deny and success commands) are not evaluated unless there are click commands to match.

So, for left click requirements to be evaluated, you need left click commands.

#

Hope that makes sense