command /kontrol [<text>] [<player>]:
permission: op
trigger:
if arg 1 is "yerayarla":
set {kontrol::yer} to player's location
message "Kontrol yeri ayarlandı."
if arg 1 is "çağır" or "çagir" or "cagir" or "cagır":
if arg 2 isn't set:
message "Bir oyuncu belirtmelisin"
stop
if {kontrol::yer} isn't set:
message "Yer ayarlanmamış. /kontrol yerayarla"
stop
teleport arg 2 to {kontrol::yer}
set {kontrol::%arg 2%::kontrol} to true
message "%arg 2% kontrole çağırıldı."
wait 5 minutes
if {kontrol::%arg 2%::kontrol} is set:
ban arg 2 due to "Kontrolden Kaçtığın İçin Yasaklandın!"
delete {kontrol::%arg 2%::*}
if arg 1 is "geldi":
if arg 2 isn't set:
message "Bir oyuncu belirtmelisin."
stop
if {kontrol::%arg 2%::kontrol} isn't set:
message "Bu oyuncu kontrole çağırılmamış."
stop
delete {kontrol::%arg 2%::kontrol}
message "%arg 2% kontrole geldiği için doğrulandı."
on teleport of player:
if {kontrol::%player%::kontrol} is set:
cancel event
send "Kontroldesin, ışınlanamazsın." to player
on command:
if {kontrol::%player%::kontrol} is set:
cancel event
send "Kontroldesin, komut kullanamazsın." to player
on drop:
if {kontrol::%player%::kontrol} is set:
cancel event
send "Kontroldesin, yere eşya atamazsın." to player