#anyone know a simpler way of doing this?
1 messages · Page 1 of 1 (latest)
well do u have a function for each of them
not yet but if i do its gonna take ages
so i was wondering if there is a better way
then dont
so im guessing
the suffixes go with index, 1,2,3... right
if so
just look thru all their names like: loop ("air", "fire", "water", "whatever their name is"): then do if index-of event-slot = loop-number:, then just make the function code dynamic in the event like
if player does not have permission "%loop-value%.use":
close player's inventory
send "&cYou cannot equip this suffix as you do not own it! &7(/buy)"
else:
execute console command "lp user %player% meta setsuffix %loop-value%" #You cant be dynamic in options, so either change options to variables or set the suffix names to whatever ur looping
the thing is
the
"lp user %player% meta setsuffix %loop-value%"
the loopp[ value
has hexes in
eg &8[abefb&lAYc2fc&li&#a8c5fd&lr&8]
alright
so?
instead of doing
options:
this: that
do
variables:
{suffix::this} = "that"
then do {suffix::%loop-value%}
send code
wait nvm
diodnt do <##
would this work as well?
ok
i made a mistake in the variables thing not removing the &'s
i changed it to correct
its still the old one
so i cant change the variable
do u know how?
yes I know a simpler way
send the code using hastebin and I'll try and optimize it
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
currently doing that way
Yes ok I'm working on it
It seems easy to optimize, wait a few minutes
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
add suffix in the on load like this:
addSuffix("cloud", "&7[hello this is example]", white wool named "&f&lCLOUD SUFFIX")
thing is
the suffixes, eg. the [hello] thing, are made from hexes
idk how to make that work
wait nvvmmmm
ty
you don't need to
luckperms will do it for you
can u add "with lore "eaeaea""
in it?
ill do it
i just wanna know if u can
like here
@pliant hare sorry for ping but got this error
add times add the end
yes you can
ty and ty
Sorry for the double ping
remember to mark solved and close if your problem is resolved
npnp