on authme login:
set {_t} to text from "https://api.mojang.com/users/profiles/minecraft/%player%"
replace all "{""name"":""" with "" in {_t}
replace all """,""id"":""f595c707e4ac454cb5a0005cdbace447""}" with "" in {_t}
if {_t} is "%player%":
send "&7Gracz &6%player% &ajest &7graczem premium." to all ops
else:
send "&7Gracz &6%player% &cnie jest &7graczem premium." to all ops
Mimo, że wchodzę z nicku premium to jest napisane, że nie jestem graczem premium
Pytanie
Glicz 246
Witam,
Mam oto taki skrypt od @Kormic
on authme login: set {_t} to text from "https://api.mojang.com/users/profiles/minecraft/%player%" replace all "{""name"":""" with "" in {_t} replace all """,""id"":""f595c707e4ac454cb5a0005cdbace447""}" with "" in {_t} if {_t} is "%player%": send "&7Gracz &6%player% &ajest &7graczem premium." to all ops else: send "&7Gracz &6%player% &cnie jest &7graczem premium." to all opsMimo, że wchodzę z nicku premium to jest napisane, że nie jestem graczem premium
Proszę o pomoc!
Z góry dziękuję!
Odnośnik do komentarza
https://skript.pl/temat/42616-problem-z-premium-check/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi