function testCmd1(p: player): open chest with 2 rows named "&4Test" to {_p} format slot 0 of {_p} with diamond named "Test Cmd" to run [make {_p} execute command "/testcmd2"] command /testcmd2: trigger: wait 1 tick message "Test Worked"