#DeluxeMenus: Cooldown, double confirmation

1 messages · Page 1 of 1 (latest)

bright hatch
#

Hey. Is it possible to create:

  • A cooldown for clicking items in the GUI. For example, a player clicks an item in the GUI and has to wait 200 ms before clicking again.
  • Double confirmation. The player has to click an item in the GUI twice to activate it.
craggy cove
#

Possible

#

?help

tropic masonBOT
#
FAQ Answer:
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait

Source

craggy cove
#

?dm-requirements

tropic masonBOT
#
FAQ Answer:
view_requirement:
  requirements:
    requirement_name:
      type: TYPE

More info on the Wiki

craggy cove
#

For cooldown:

click_requirement:
  requirements:
    'no cd':
      type: stringequals
      input: '%deluxemenus_meta_cd_STRING%'
      output: ''
      success_commands:
        - '[message] no cd'
        - '[meta] set cd STRING a' 
        - '[meta] remove cd STRING a<delay=200>'
      deny_commands:
        - '[message] on cooldown'
bright hatch