Problem with custom variables #159


  • Waiting
Open
  • mowopl created this issue Dec 27, 2017

    Hi

    Since February 2017 i try to recall Custom Variables. On MC 1.11 works by changing phrase durring execution. Now nothing works.

    test1:
    command: /test1
    type: runconsole
    runcmd:
    - '$Script$%Variable%integer1=$randomplayer'
    - 'test2 $integer1 $arg1 $arg2 $arg3'
    register: true
    permission-required: true

     

    test2:
    command: /test2
    type: runconsole
    runcmd:
    - 'pex user $arg1 timed add * 1'
    - 'sudo $arg1 rg select freeend'
    - 'sudo $arg1 //set 209'
    - 'test3 $arg1 $arg2 $arg3 $arg4'
    register: true
    permission-required: true

    test3:
    command: /test3
    type: runconsole
    runcmd:
    - 'bc Player is $arg1'
    - 'bc First int $arg2'
    - 'bc Second int $arg3'
    - 'bc Third int $arg4'
    register: true
    permission-required: true

    Effect:

    run /mycmd-variables chceck integer1 => <some name of player who is online> (works and change every execution)

    run /test1 1 2 3 => /test2 $ 1 2 3 => /test3 $ 1 2 3 => Player is $ ect...

    My goal is to use custom variables as simple database. I want call data like last random player, events count ect.

  • mowopl added a tag Waiting Dec 27, 2017

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