- Katılım
- 1 Ağustos 2018
- Mesajlar
- 2
- Elmaslar
- 0
- Puanlar
- 6.445
- Minecraft
- Oguzhan_TRO
command /sohbet [<text>] [<text>]:
permission: sohbet.kapat
permission message: &cİznin Yok!
trigger:
if arg 1 is set:
if arg 2 is set:
if arg 1 is "ac":
if arg 2 is "Adünyası" or "Bdünyası" or "Cdünyası":
set {%arg-2%::sohbet} to true
send "&eDurum &f:&3%{%arg-2%::sohbet}%" to player
else:
send "6e/sohbet [ac/kapat] [Adünyası/Bdünyası/Cdünyası]" to player
else:
send "6e/sohbet [ac/kapat] [Adünyası/Bdünyası/Cdünyası]" to player
else:
send "6e/sohbet [ac/kapat] [Adünyası/Bdünyası/Cdünyası]" to player
else:
if arg 1 is "kapat":
if arg 2 is "Adünyası" or "Bdünyası" or "Cdünyası":
set {%arg-2%::sohbet} to false
send "&eDurum &f:&3%{%arg-2%::sohbet}%" to player
else:
send "6e/sohbet [ac/kapat] [Adünyası/Bdünyası/Cdünyası]" to player
on chat:
if world is "Adünyası":
if {Adünyası::sohbet} is false:
cancel event
send "&eBulunduğun Dünyada Sohbet Kapatıldı" to player
on chat:
if world is "Bdünyası":
if {Bdünyası::sohbet} is false:
cancel event
send "&eBulunduğun Dünyada Sohbet kapatıldı" to player
on chat:
if world is "Cdünyası":
if {Bdünyası::sohbet} is false:
cancel event
send "&eBulunduğun Dünyada Sohbet kapatıldı" to player
Keşke adama hiç yazmasaydın demeyip, attıklarından bir anlam çıkartıp skripti yazmayı deneseymişsin..sagol cok yardimci olmussun, yazmaya usenip tatava yapacagina hic yazmasaydin?
command /sohbetkilit:
permission: sohbet.kilit
trigger:
set {sohbetkilit::%player's world%} to true if {sohbetkilit::%player's world%} is false
set {sohbetkilit::%player's world%} to true if {sohbetkilit::%player's world%} is not set
set {sohbetkilit::%player's world%} to false if {sohbetkilit::%player's world%} is true
wait a tick
send "&7Sohbet artık &ckilitli." to player if {sohbetkilit::%player's world%} is true
send "&7Sohbet artık &aaçık." to player if {sohbetkilit::%player's world%} is false
on chat:
if {sohbetkilit::%player's world%} is true:
cancel event if player doesn't have permission "sohbet.konus"