• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Minecraft 1.16.220 Update + Bug/Crash Fixes
    Added MCPE 1.16.220 version and fixed crashes for multiple plugins. You can view the full changelist here.
  • Forum Updates - 4/11/2021
    Various changes have been made to the forums and a few categories. You can view the full changelist here.

Help with a GUI

Warning!
Hello , there have been no replies in this thread for more than 30 days.
Please make sure you have a valid reason before you reply to this thread or you may face moderation action.

NoYoursNo

Tree Puncher
#1
so I'm tryna make a GUI for my factions server and I'm trying %gui%[\"title"\] = {msg} and it says Syntax Error. Can somebody help?
 
#2
%gui%[\"title"\] = {msg}
There are 2 problems:
1. You wrote the backslash after title behind the quotation mark, while it has to escape the quotation mark.
2. You didn't add quotation marks around {msg}

So it has to be %gui%[\"title\"] = \"{msg}\"

If you're editing through a dialog, you don't need to escape the quotation marks. In that case you just write %gui%["title"] = "{msg}"