#PLEASE HELP ME WITH THIS ERROR!
1 messages · Page 1 of 1 (latest)
wdym by "normal quotes"?
send your code for that line, ill show you
alright
item spawn:
if name of event-item is set:
set display name of event-entity to name of event-item
else:
set x%{_amount)% {_type} to "%type of event-item%"
set display name of event-entity to x%{_amount}% {_type} in strict proper case
here it is
set display name of event-entity to x%{_amount}% {_type} in strict proper case <-- this doesn't even match the error
its at line 6
thats nice, but the line you just sent is not the same one in the error
set display name of event-entity to "x%{_amount}% {_type}" its this one ig
its literally what the error says in line 6
that line runs fine for me
i think it might be cuz of line 5
or the other ones
but im not sure
so i replaced the line: set display name of event-entity to {_type} in strict proper case with set display name of event-entity to {_type} in strict proper case set display name of event-entity to "x%{_amount}% {_type}" in strict proper case
and now the hologram above the block says: X<none> {_type}
cause you never set {_amount}
and {_type} you never wrapped in %%
how do i set the {_amount}
set {_amount} to..?
do i just have to say the number or?
i just dont really know how to work with variables
some help could really come in handy
A site dedicated to serving the Skript community
i read it but i still dont know to set the variable to the number of items
so like set {_amount} to item types ?
does that work?
nvm it doesnt
i tried setting the variable to what says in the doc but it still didnt work
what did you try?
set {_amount} to the number of %item types% of %inventories%
oh jesus
let me give you a tutorial so you can learn how to read skript syntaxes
here you go
https://skripthub.net/tutorials/21