so i invented these things on my server called MinePhones. I want to make it so theres a text message app. Heres my code:
there are no error messages. It just wont work.
Code:
command /minemsg <player> <text>:
trigger:
{latestmessage} = args 2
{recipient} = args 1
open virtual chest inventory with size 1 named "&aMineMessages" to {recipient} parsed as player
format gui slot 4 of {recipient} parsed as player with paper named {latestmessage}