Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- tag: &7[&2Real&1Time&7]
- on script load:
- if file "plugins/Skript/realtime/config.yml" isn't exist:
- create file "plugins/Skript/realtime/config.yml"
- download "https://raw.githubusercontent.com/herhor67/miniskrypty/master/config.yml" to create file "plugins/Skript/realtime/config.yml"
- set {realtime::worlds::*} to value list "worlds" get of "plugins/Skript/realtime/config.yml"
- loop {realtime::worlds::*}:
- broadcast "%loop-value%"
- every minute:
- set {_obecna.godzina} to text from url "http://nicc0.pl/godzina.txt"
- {_obecna.godzina} is set:
- {_obecna.godzina} contains "404" or "not" or "found" or "error" or "403" or "forbidden":
- stop
- execute server command "/time set %{_obecna.godzina}% world" #kopiuj tฤ linijkฤ i wklejaj, tylko zamieniaj nazwy ลwiatรณw
- chance of 1%:
- broadcast "{@tag} &6Mamy godzine %{_obecna.godzina}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement