on script load: create file "plugins/Moby/Mob.yml"command /resp [<text>] [<text>]: permission: op trigger: if arg 1 is not set: send "[RESP] Wpisz nazwe moba... DOSTEPNE: ZOMBIE" if arg 2 is not set: send "[RESP] Wpisz nazwe lokacji..." if arg 1 is "zombie": if arg 2 is set: send "[RESP] Ustawiles spawn %arg 1% na lokalizacji %arg 2%" set {mob.%arg 2%} to location of player wf "loc: %{mob.%arg 2%}%" to "plugins/Moby/Mob.yml" every 1 second: set {zombie.spawn} to single value "loc" get of "plugins/Moby/Mob.yml" spawn zombie at {zombie.spawn}
Pytanie
K_A196 6
Tak jak w temacie:
on script load: create file "plugins/Moby/Mob.yml"command /resp [<text>] [<text>]: permission: op trigger: if arg 1 is not set: send "[RESP] Wpisz nazwe moba... DOSTEPNE: ZOMBIE" if arg 2 is not set: send "[RESP] Wpisz nazwe lokacji..." if arg 1 is "zombie": if arg 2 is set: send "[RESP] Ustawiles spawn %arg 1% na lokalizacji %arg 2%" set {mob.%arg 2%} to location of player wf "loc: %{mob.%arg 2%}%" to "plugins/Moby/Mob.yml" every 1 second: set {zombie.spawn} to single value "loc" get of "plugins/Moby/Mob.yml" spawn zombie at {zombie.spawn}Ten kodzik nie działa chodź nie ma errorów ;D
I jeszcze plik YAML po ustawieniu:
Prosze o szybka odp!
Odnośnik do komentarza
https://skript.pl/temat/5980-ustawianie-respu-w-danym-miejscu/Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi