Noo w skrypcie autora też tak jest. W sumie, zamiast splitowania starczyłoby dodać spacje przed i po każdym wyrazie ;d.
Albo można by zrobić też whiteliste wyrazów i tam powpisywać te wyrazy, które mają w sobie jakiś zakazany wyraz np.
on chat:
if message contain {chat::blacklist::*}:
if message contain {chat::whitelist::*}:
stop
cancel event
send "..."
Takich skryptów jest pełno lepszych i gorszych
tak w craftingu
register new shapeless recipe for %item% using %item-1%, %item-2%, %item-3%, %item-4%, %item-5%, %item-6%, %item-7%, %item-8%, %item-9%
(tylko bez tych %)
options:
x: 1000
z: 1000
world: world
on death of zombie:
set {zombie} to false
every 10 minutes:
{zombie} is false
set {zombie} to true
set {_x} to random integer between -{@x} and {@x}
set {_z} to random integer between -{@z} and {@z}
set {_y} to 256
set {_loc} to location at {_x}, {_y}, {_z} in world "{@world}"
while block under {_loc} is air:
set y-coord of {_loc} to (y-coord of {_loc}) - 1
spawn a zombie at {_loc}
jeden sie moze zrespic
format slot 13 of player with 1 of diamond pickaxe named "&b&lKilof 1/3/3" to run [execute player command "/kilof133"]
zamiast
format slot 13 of player with 1 of diamond pickaxe named "&b&lKilof 1/3/3" to run "kilof133"
@arbuzlikeu
command /kilof633:
trigger:
give diamond pickaxe of efficiency 6 and unbreaking 3 and fortune 3 named "&4Kilof 6/3/3" to player
command /kilof533:
trigger:
give diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 named "&4Kilof 5/3/3" to player
command /kilof433:
trigger:
give diamond pickaxe of efficiency 4 and unbreaking 3 and fortune 3 named "&4Kilof 4/3/3" to player
command /kilof333:
trigger:
give diamond pickaxe of efficiency 3 and unbreaking 3 and fortune 3 named "&4Kilof 3/3/3" to player
command /kilof233:
trigger:
give diamond pickaxe of efficiency 2 and unbreaking 3 and fortune 3 named "&4Kilof 2/3/3" to player
command /kilof133:
trigger:
give diamond pickaxe of efficiency 1 and unbreaking 3 and fortune 3 named "&4Kilof 1/3/3" to player
na końcu wszystkich give daj to player np:
give diamond pickaxe of efficiency 6 and unbreaking 3 and fortune 3 named "&4Kilof 6/3/3" to player
I podaj błędy