Paste #49020: backup

Date: 2018/08/13 07:16:33 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


minigamesinv:
  type: inventory  
  title: minigames 
  size: 9
  slots: 
      - "[] [] [Minigames_slot_1] [] [Minigames_slot_2] [] [] [] []" 
Minigames_slot_1: 
  type: item 
  material: i@skull_item
  display name: <&4>HorrorGames!
Minigames_slot_2: 
  type: item 
  material: i@Diamond_sword
  display name: <&4>VillageDefense! 
minigamesgui: 
  type: command
  name: minigamesgui 
  description: minigames 
  usage: /minigamesgui 
  script:  
  - inventory open d:in@minigamesinv

invminigamesgui handler:
  type: world 

  events: 

    on player clicks in minigamesinv:
    - determine cancelled 
    on player drags in minigamesinv: 
    - determine cancelled 
    on player clicks Minigames_slot_1 in minigamesinv: 
    - execute as_player "hr join hollow" 
    on player clicks Minigames_slot_2 in minigamesinv: 
    - execute as_player "vd join hollow"