This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
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
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.
To post a comment, please login or register a new account.