Procedure with execute command not working.

Started by WeswePengu on Sun, 07/08/2018 - 19:21

Topic category: Bugs and solutions

Last seen on 21:21, 19. Dec 2019
Joined Jul 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Procedure with execute command not working.
Sun, 07/08/2018 - 19:21

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?

 

 

 

Last seen on 10:39, 20. Apr 2020
Joined Jan 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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