Procedure with execute command not working.

Started by WeswePengu on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure with execute command not working.

I am trying to create a Procedure to create an event, inside an GUI, where clicking on a button will execute the command "/weather clear".

Everything appears to be setup correctly except it seems the command does not work. I have tried inputting both "weather clear" and "/weather clear" into the text but it doesn't seem to fix itself. Is there anything I am missing?

 

 

 

Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Since you never gave an…
Mon, 07/16/2018 - 18:17

Since you never gave an image of the procedure or anything, follow these steps.

  1. Create a procedure (PWeatherClear for example)
  2. Use this script:
    if Is raining in provided world
    do Enable rain if [True] otherwise, disable it

    It's quite simple

  3. On the GUI, create a new button

  4. On the procedures, select the procedure you just created (PWeatherClear for example)

Hope this helped