Özel Mesaj Skript
</>
</>
Komutlar:
- /msg <isim> <mesaj>: İsim kısmına mesajı atacağınız kişinin ismini, mesaj kısmına özelden göndereceğiniz mesajı yazınız.
- /msgsetting <Aç/Kapa>: Özel mesaj gelmesini kapamak için kapa, açmak için aç yazmanız yeterli.
- /msgban <isim>: Bu komut sayesinde özel mesaj göndermesini istemediğiniz kişileri engelleyebilirsiniz!
- /msgunban <isim>: Bu komut sayesinde özel mesaj göndermesini engellediğiniz kişinin yasaklamasını/engellemesini kaldırabilirsiniz.
- /msghelp: Bu komut sayesinde özel mesaj ile ilgili komutların tanımını öğrenebilirsiniz.
- /msgsettingop <isim> <düzenle>: Bu komut geliştirilmektedir, şuanlık bir oyuncunun mesajını kapayıp, açmaya yarayacaktır.
Kod:
command /msg [<offlineplayer>] [<text>]:
aliases: /m, /mesaj, /özel, /ozel, /message
trigger:
if arg 1 is not set:
send "&cLütfen oyuncu ismi giriniz."
send " "
send "&fDoğru Kullanım: /msg <OyuncuAdı> <Mesaj>"
if arg 1 is set:
if arg 1 is player:
if arg 1 is online:
if {mesaj.%arg-1%} is false:
if {mesajban::%player%::%arg-1%} is true:
if {mesajban::%arg-1%::%player%} is true:
if arg 2 is set:
send "&7[Ben &7> &b%arg-1%&7] &c%arg-2%" to player
send "&7[&b%player% %7> Ben] &c%arg-2%" to %arg-1%
if arg 2 is not set:
send "&cLütfen mesaj giriniz."
send " "
send "&fDoğru Kullanım: /msg <OyuncuAdı> <Mesaj>"
if {mesaj.%arg-1%} is true:
send "&c%arg-1%'ın mesaj alması kapalıdır."
if {mesajban::%player%::%arg-1%} is false:
send "&c%arg-1% size msgban atmıştır!"
if {mesajban::%arg-1%::%player%} is false:
send "&c%arg-1%e msgban attığınız için mesaj atmanız engellenmiştir."
if arg 1 is not online:
send "&cGöndermek istediğiniz kişi aktif değil!"
if arg 1 is not player:
send "&c%arg-1% adında oyuncumuz yoktur!"
command /msgsetting [<text>]:
aliases: /msetting, /ms, /msgs, /özelayarlar, /ozelayarlar, /os, /ös, /messages
trigger:
if arg 1 is not set:
send "&cLütfen /msgsetting kapa yada /msgsetting aç yazınız."
send " "
send "&fDoğru Kullanım:"
send "&f/msgsetting aç: Messaj gelmeyi açar."
send "&f/msgsetting kapa: Mesaj gelmayi kapar."
if arg 1 is "kapat" or "kapa" or "kapan" or "close" :
set {mesaj.%player%} to true
send "&aMesaj gönderme kapandı, artık size artık mesaj gelmeyecektir."
if arg 1 is "aç" or "ac" or "open":
set {mesaj.%player%} to false
send "&aMesaj gönderme açıldı, artık size mesaj gelecektir."
command /msgban [<offlineplayer>]:
aliases: /mban, /mesajban, /özelban, /ozelban, /messageban
trigger:
if arg 1 is not set:
send "&cLütfen oyuncu ismi giriniz."
send " "
send "&fDoğru Kullanım: /msgban <OyuncuAdı>"
if arg-1 is set:
if {mesajban::%player%::%arg-1%} is true:
set {mesajban::%player%::%arg-1%} to false
send "&a%arg-1%'den artık özel mesaj almayacaksınız."
command /msgunban [<offlineplayer>]:
aliases: /munban, /mesajunban, /özelunban, /ozelunban, /messageunban
trigger:
if arg 1 is not set:
send "&cLütfen oyuncu ismi giriniz."
send " "
send "&fDoğru Kullanım: /msgunban <OyuncuAdı>"
if arg 1 is set:
if {mesajban::%player%::%arg-1%} is false:
set {mesajban::%player%::%arg-1%} to true
send "&a%arg-1%'den artık özel mesaj alabileceksiniz"
command /msghelp:
aliases: /mhelp, msgyardim, özelyardim, özelhelp, myardim
trigger:
send "Özel Mesaj Atmak İçin: /msg <OyuncuAdı> <Mesaj>"
send "Özel Mesaj Almayı Kapamak İçin: /msgsetting kapa"
send "Özel Mesaj Almayı Açmak İçin: /msgsetting aç"
send "Özel Mesaj Ban İçin: /msgban <OyuncuAdı>"
#Yönetici
command /msgsettingop [<offlineplayer>] [<text>]:
permission msg.admin
permission message: &7[&6+&7] &4Bunu yapmaya yetkin yok!
aliases: /msettingop, /msop, /msgsop, /özelayarlarop, /ozelayarlarop, /osop, /ösop, /messagesop
trigger:
if arg 1 is not set:
send "&cLütfen isim yazınız!"
if arg 2 is "kapat" or "kapa" or "kapan" or "close":
set {mesaj.%arg-1%} to true
send "&aarg-1'in özel mesj alması kapanmıştır."
if arg 2 is "aç" or "ac" or "open":
set {mesaj.%arg-1%} to false
send "&&aarg-1'in özel mesj alması açılmıştır."
if arg 2 is not set:
send "&cLütfen /msgsettingop <OyuncuAdı> kapa yada /msgsetting <OyuncuAdı> aç yazınız."
send " "
send "&fDoğru Kullanım:"
send "&f/msgsettingop <OyuncuAdı> aç: Messaj gelmeyi açar."
send "&f/msgsettingoğ <OyuncuAdı> kapa: Mesaj gelmayi kapar."