Help with MyCommand #141


Open
  • _ForgeUser23306609 created this issue Feb 12, 2017

    I try to do a menu with dynamic items like wool.

    I just wanna do A menu who change the wool when i type a command(/event) and change the color of wool.

     

    And if I make this Script down bellow, I got an error : 

    [Mycmd] Error while trying to parse the iconmenu at the command named : iconmenu_page1 (meniu.yml).

    And menu with no item in it.

     

     

    check:
    command: /event
    type: RUN_CONSOLE
    runcmd:
    - "$Script$%if%$PlayerDataFor%WaffleMast3r%cage1.player%==null"
    - "$Script$%PlayerDataFor%WaffleMast3r%cage1.meniu.0='0:WOOL:14:/help:&2Help:&aTrue'"
    - "$Script$%else%$"
    - "$Script$%PlayerDataFor%WaffleMast3r%cage1.meniu.0='0:WOOL:5:/help:&2Help:&aTrue'"
    iconmenu_page1:
    command: /meniu
    type: ICON_MENU
    text:
    - 'POSITION:ITEM_NAME:ITEMDATA:COMMAND/MESSAGE:TITLE:DESCRIPTION;MULTILINES'
    - 'ITEM_NAME can also be ITEM_NAME;ENCHANTMENT_NAME;LEVEL'
    iconmenu_title: '&cMyCommand &4ItemMenu'
    iconmenu_size: 27
    iconmenu_commands:
    - "$PlayerDataFor%WaffleMast3r%cage1.meniu.0%"
    cost: 0
    delaytimer: 5


To post a comment, please login or register a new account.