MyCommand scripts

Discussion in 'General Help' started by Kakotu, Jun 27, 2018.

  1. Offline

    Kakotu

    So, im using MyCommand on my server and i have gone a bit "more advanced stuff". I don't really know how this works but i know a bit about it. But i thought that i'm going to make that they need empty inventory to execute a specific command. I did like this but it won't work. It's the first line that won't work
    "- $Script$HasEmptyInventory==true" Thanks for answer!

    Code:
    eventinv:
      command: /event
      type: RUN_COMMAND
      runcmd:
      - $Script$HasEmptyInventory==true
      - /warp event
      - $script$%else%
      - /spawn
      - $text$&9(!) &cPlease remove everyting in your inventory and try again!
     
    Last edited by a moderator: Jun 27, 2018

Share This Page