#Multiple Command Conditioning based on Left_Click_Requirements

1 messages · Page 1 of 1 (latest)

cold bloom
#

Hey! Basically, what I want to do is create an item in deluxemenus which, when clicked, will execute a different action based on a set of condition arranged in order of priority (first is hardest to accomplish, last is default, no condition set). I got some info from the wiki, but my commands don't seem to be executing even though I fulfill all conditions

#
open_command: atest
size: 54
items:
      '4':
        material: basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZThjZGU2NzAwMzcyMmRiODE4Mjk5YmNiZWM4ODMyODlkMThkYzkzMzJkZTgwOTgzNDAwYTg3ZjIwNTQ0MzkyYSJ9fX0=
        slot: 4
        display_name: '&f'
        lore:
        - '&f'
        left_click_requirements:
          stop_at_success: true
          requirements:
            req_1:
              type: '>='
              input: '%playerpoints_points%'
              output: '100'
              success_commands:
              - "[console] say test1"
            req_2:
              type: '<'
              input: '%playerpoints_points%'
              output: '100'
              success_commands:
              - "[console] say test2"```
#

no command is being run and I have no idea why

elfin cargo
#

left_click_requirements will never be checked if there is no left_click_commands so you have to add those

#

success_commands are specific to the requirements not to be confused with left_click_commands

elfin cargo