command /zglos [<text>]:
trigger:
if arg 1 is set:
loop all players:
if loop-player has permission "helpop":
send "&7Gracz: &6%player% &7Lokacja: &6%location of player% &7Zgloszenie: &6%arg 1%" to loop-player
send "&cWpisz /tpzglos %player% aby sie teleportowac do punktu wyslania zgloszenia"
log "%player%: %arg 1%" to "helpop.log"
set {helpop::pl::%player%} to location of player
command /tpzglos [<offlineplayer>]:
trigger:
if arg 1 is set:
set {_} to arg 1
teleport player to {helpop::pl::%{_}%}
Logi zapisują się w "plugins/Skript/scripts/helpop.log".
command /lista:
trigger:
open chest with 6 rows to player
add numbers from 0 to 53 to {_gui::*}
loop all players:
loop {_gui::*}:
if loop-player-1 is op:
format slot loop-value-2 of player with red wool block named "%loop-player%" to be unstealable
else:
format slot loop-value-2 of player with green wool block named "%loop-player%" to be unstealable
remove loop-value-2 from {_gui::*}
stop loop
Eh... W tym sposobie nie używa się "if folder "xyz" doesn't exists"...
Masz tutaj poprawiony.
on script load:
if yaml value "nic" from file "../../bany/bany.yml" is not set:
set yaml value "nic" from file "../../bany/bany.yml" to "nic"
send "&aGotowe" to console
send "&aGotowe" to all ops
SKRYPT: https://code.skript.pl/F4wlX1RX
Totalnie nie wiem, czy skrypt działa.
Musisz to sprawdzić, tylko żeby skrypt działał musisz sobie zabrać opa z "*" i dodać sobie jedną permisję, która dodaje powiększony enderchest.