Seçkin madenci.
- Katılım
- 3 Temmuz 2018
- Mesajlar
- 51
- Tepki puanı
- 40
- Puanları
- 1,025
- Discord
- Hastebin Bağlantısı
- https://hastebin.com/focagixeyo.cpp
Merhaba Batıhost yardım topluluğu üyeleri sizlere kendim yazmış olduğum skin skriptini paylaşıyorum.
Kullanım: /skin <oyuncuadı>
Gerekli Eklentiler: Reqn, MundoSK
Kullanım: /skin <oyuncuadı>
Gerekli Eklentiler: Reqn, MundoSK
Kod:
options:
prefix: &bGörünüş >>
on join:
if {skin::%player%} is set:
set player's displayed skin to {skin::%player%}
command /skin [<offline player>]:
trigger:
if arg-1 is set:
send a request to "https://mcapi.de/api/user/%arg-1%" with headers "User-Agent:MyAgent"
set {_a::*} to the last http response's body split at """"
loop {_a::*}:
if loop-value is ":false,":
send "{@prefix} &cYazdığınız Hesap Premium Değil!"
stop
if loop-value is "value":
set {_value} to {_a::%loop-index parsed as number + 2%}
if loop-value is "signature":
set {_signature} to {_a::%loop-index parsed as number + 2%}
stop loop
set {skin::%player%} to skin with value {_value} signature {_signature}
set player's displayed skin to {skin::%player%}
send "{@prefix} &aBaşarılı!"
else:
send "{@prefix} &3Hangi skini kullanacağını tahmin edemem."