at 22:00:#22:00 Da Gece Olup Meşale Açma Açık Olur
set {hava} to true
at 07:00:#7:00 Da Gündüz Olup Meşale Açma Kapalı Olur
set {hava} to false
on rightclick with torch:
if {hava} is true:
apply potion of night vision to the player for 300 seconds#Oyuncuya 300 saniye gece görüşürü verir.
else if {hava} is false:
execute console command "effect %player% 16 0"
command /torch <text>:#/torch ac,/torch kapat yazarak açık kapatabilirsin.
permission: admin
usage: /torch ac , /torch kapat
trigger:
if arg 1 is "ac":
set {hava} to true
else if arg 1 is "kapat":
set {hava} to false
execute console command "effect %player% 16 0"