command /hapisgönder [<offlineplayer>] [<int>]:
permission: op
trigger:
if arg 1 is set:
if arg 2 is set:
if arg 3 is set:
send "&8&m----------------------------------" to players
send "&cYetkili: %player%" to players
send "&cMahkum: %arg 1%" to players
send "&cSüre: %arg 2%" to players
send "&8&m----------------------------------" to players
teleport player to {_set}
set {hapiste::%arg 1%} to arg-2
while {hapiste::%arg 1%} is bigger than 0:
wait 1 minute
remove 1 from {hapiste::%arg 1%}
if {hapiste::%arg 1%} is 0:
teleport arg-1 to {_cikis}
send "&cHapisten çıktın" to arg-1
else:
send "&cOyuncuyu hapise atma sebebi seçmedin!" to player
else:
send "&cOyuncunun hapiste kalacağı süreyi seçmedin!" to player
else:
send "&cHapise atılacak oyuncuyu seçmedin!" to player
command /hapisbelirle:
permission: op
trigger:
set {_set} to location of player
send "&cMahkumlar artık burada tutulacak!" to player
command /hapisçık:
permission: op
trigger:
set {_cikis} to location of player
send "&cArtık buradan çıkış yapacaklar" to player
command /hapisçıkar [<player>]:
trigger:
set {hapiste:::%arg 1%} to 0
on command:
if {hapiste::%arg 1%} is bigger than 0:
cancel event
send "&cHapiste komut kullanmak yasak!" to player
on join:
if {hapiste::%arg 1%} is bigger than 0:
teleport player to {_set}