S
sergun26
Ziyaretçi
Zorluk:
Hava durumu (Essentials):
Kod:
on command "/difficulty":
if command sender is player:
if player is op:
else:
stop
set {_komut} to whole command
replace all "difficulty" or "/" or " " with "" in {_komut}
if {_komut} is " " or "":
stop
if {_komut} is "0":
set {_komut} to "&abarışçıl"
if {_komut} is "1":
set {_komut} to "&dkolay"
if {_komut} is "2":
set {_komut} to "&9normal"
if {_komut} is "3":
set {_komut} to "&czor"
if command sender is console:
broadcast "&7Konsol &bzorluk değişkenini %{_komut}% &bolarak değiştirdi."
if command sender is player:
broadcast "&c%player's display name% &bzorluk değişkenini %{_komut}% &bolarak değiştirdi."
Hava durumu (Essentials):
Kod:
on command "/weather":
if player has permission "essentials.weather":
set {_komut} to whole command
loop all players:
replace all "weather" or "/" or " " or "%loop-player's world%" with "" in {_komut}
if {_komut} is "clear" or "clean":
set {_komut} to "&egüneşli"
if {_komut} is "storm":
set {_komut} to "&9yağmurlu"
if {_komut} is " " or "":
stop
if command sender is console:
broadcast "&7Konsol &bhava durumu değişkenini %{_komut}% &bolarak değiştirdi."
if command sender is player:
broadcast "&c%player's display name% &bhava durumu değişkenini %{_komut}% &bolarak değiştirdi."