Jump to content

JojoPLayz32983

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by JojoPLayz32983

  1. I've tried using the < symbol and also typing less than but I still get an error. Please help.

    image.thumb.png.65612cd5b16d948287d2b67bc5494e22.png

    Here is my script:

     

    command /autocreateset <text> <text> <text> <text> <text> <text>:
        #                   item  input1 input2 input3 input4 input5:
        permission: op
        set {_loopidx} to 0
        while {_loopidx} < 26:
            set {_loopidx} to {_loopidx} + 1
            if {_loopidx} > 20:
                set {_itemtype} to "{%arg-6%}"
                set {_itemname} to "{%arg-6%} {%arg-1%}"
            else if {_loopidx} > 15:
                set {_itemtype} to "{%arg-5%}"
                set {_itemname} to "{%arg-5%} {%arg-1%}"
            else if {_loopidx} > 10:
                set {_itemtype} to "{%arg-4%}"
                set {_itemname} to "{%arg-4%} {%arg-1%}"
            else if {_loopidx} > 5:
                set {_itemtype} to "{%arg-3%}"
                set {_itemname} to "{%arg-3%} {%arg-1%}"
            else
                set {_itemtype} to "{%arg-2%}"
                set {_itemname} to "{%arg-2%} {%arg-1%}"
            give 1 itemtype {%arg-1%} named {_itemname} to player

     


×
×
  • Create New...