Solved Qusetion about placeholderapi skript

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

YK_DZ

Member
Jan 14, 2022
24
0
1
24
Hi
I use Ersatz to create a placeholder skript
The script is like this:
Code:
command /dailyweather: # use this command to randomly choose the other weather
  trigger:
    set {_cmdWeather::*} to "dailyWeatherSun", "dailyWeatherWind", "dailyWeatherRain" and "dailyWeatherStorm"
    make console execute "%random element of {_cmdWeather::*}%"
  
command /dailyWeatherSun:
  trigger:
    make console execute command "weather sun lock world"
    make console execute command "broadcast Sun"
  
command /dailyWeatherWind:
  trigger:
    set {_season} to placeholder "rs_season" # From a plugin called RealisticSeasons
    if {_season} is "Spring":
      make console execute command "broadcast SW"
    if {_season} is "Summer":
      make console execute command "broadcast SUW"
    if {_season} is "Fall":
      make console execute command "broadcast FW"
    if {_season} is "Winter":
      make console execute command "broadcast WW"

command /dailyWeatherRain:
  trigger:
    make console execute command "weather rain lock world"
    make console execute command "broadcast R"
  
command /dailyWeatherStorm:
  trigger:
    make console execute command "weather storm lock world"
    make console execute command "broadcast ST"

But when the /dailyWeatherWind was execute, this error will appear
https://paste.ubuntu.com/p/nCx7hhNfjG/

What can i do to solve this problem?
[doublepost=1642137942,1642134602][/doublepost]Oh I just change the placehoder to rs_season_world and all things work correctly
I this the rs_season need a player world to work
 
Status
Not open for further replies.