HaciGandalf
Katniss Everdeen
- Katılım
- 23 Nisan 2019
- Mesajlar
- 136
- Elmaslar
- 72
- Puan
- 13.535
- Yaş
- 22
- Konum
- Türkiye / İstanbul
- Discord İzni

- Minecraft
- HaciGandalf
Discord:
hacigandalf
Güzel olmuş eline sağlık.Merhaba, skript için yorum yapmıştım ama tekrar aklıma geldi çünkü fikir mantıklı geldi :D Bu yüzden de skripti kendimce biraz düzenledim komutlar ekledim, cooldown ve pozitiflik durumu gibi şeylerde alıntı almam gerekti çünkü pek bilmiyorum o kısmı. Skript:
Kod:options: p: &aCovid&7-&c19&7> command /covid19 [<text>] [<offlineplayer>]: trigger: if arg 1 is "py": if player has permission "covid19.admin": if arg 2 is set: set {pozitif::%arg 2%} to true broadcast "{@p} &c%arg 2% adlı oyuncu Covid-19 hastalığına yakalandı." else: send "&cOyuncu ismi girmelisiniz" to player else: send "&cBu komutu kullanamazsın" to player if arg 1 is "ny": if player has permission "covid19.admin": if arg 2 is set: set {pozitif::%arg 2%} to false broadcast "{@p} &c%arg 2% adlı oyuncunun virüs testi artık negatif." else: send "&cOyuncu ismi girmelisiniz" to player else: send "&cBu komutu kullanamazsın" to player if arg 1 is "bulastır": if arg 2 is set: if {cooldown::%player%} isn't set: set {cooldown::%player%} to now if {pozitif::%player%} is true: if difference between {cooldown::%player%} and now > 15 seconds: set {cooldown::%player%} to now set {pozitif::%arg 2%} to true broadcast "{@p} &c%arg 2% adlı oyuncu Covid-19 hastalığına yakalandı." else: set {_n} to "%difference between 1 hours and (difference between {cooldown::%player%} and now)%" replace all "hours" with "&fsaat" in {_n} replace all "seconds" with "&fsaniye" in {_n} replace all "minutes" with "&fdakika" in {_n} send "&fBu komudu &f%{_n}% &asonra tekrar kullanabilirsin" to player else: send "&cHastalığı bulaştırmak için önce kendin kapmalısın." else: send "&cOyuncu ismi girmelisiniz" to player if arg 1 is "tedavi": if player has permission "covid19.doktor": if arg 2 is set: if {pozitif::%arg 2%} is true: set {pozitif::%arg 2%} to false broadcast "{@p} &c%player% adlı oyuncu %arg 2% adlı oyuncuyu iyileştirdi." else: send "&cHasta olmayan birini iyileştiremezsin." to player else: send "&cBir oyuncu ismi girmelisin" to player else: send "&cBu komudu kullanamazsın" to player if arg 1 is "test": if arg 2 is set: send "&cOyuncunun pozitiflik durumu sorgulanıyor..." to player wait 2 seconds if {pozitif::%arg 2%} is true: send "&cTest sonucu: &4Pozitif" to player send "&cBu oyuncu Covid-19 hastalığına yakalanmış!Dikkat et sana da bulaştırabilir." to player else: send "&cTest sonucu: &5Negatif" to player send "&aTebrikler,bu oyuncu Covid-19 hastalığına yakalanmamış!" to player else: send "&cBir oyuncu ismi girmelisin" if arg 1 is "help": if arg 2 is not set: send "&e>>>> Mc-Tr <<<<" to player send "" to player send "&cCovid&7-&c&l19" to player send "" to player send "&d&lKomutlar;" to player send "" to player send "&d/covid19 help: &fBu sayfayı açar." to player send "&d/covid19 py <oyuncu>: &fOyuncuyu pozitif yapar." to player send "&d/covid19 ny <oyuncu>: &fOyuncuyu negatif yapar." to player send "&d/covid19 test <oyuncu>: &fOyuncunun pozitiflik durumunu sorgular." to player send "&d/covid19 tedavi <oyuncu>: &fOyuncuyu tedavi eder." to player send "&d/covid19 bulastır <oyuncu>: &fOyuncuya hastalığı bulaştırır.(1 saat ara ile)" to player send "" to player send "&d&lIzinler" to player send "" to player send "&dcovid19.admin" to player send "&dcovid19.doktor" to player send "" to player send "&cCovid&7-&c&l19" to player send "" to player send "&e>>>> Mc-Tr <<<<" to player else: send "&dKomut bulunamadı. Yardım için: /covid19 help" to player else: send "&dMC-TR Özel Skript Komudu. Yardım için: /covid19 help" to player