#(PlayAtDark) Run command on consume item.
46 messages · Page 1 of 1 (latest)
(PlayAtDark) Run command on consume item.
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
what command are you trying to run
The execute as server for now.
The issue isn't the command. I can't get it to run.
I'm going to add a particle effect after.
It doesn't trigger the command. It doesn't reach that point.
cooke
nice
typo
if you /ex reload, it probably spits an error out for that. definitely don't ignore those errors
lmao
You're correct. Thank you.
are you using vs code with the script editor extension?
Yes
does it show you a prompt about using execute like that
No errors.
interesting
well
as alluded to earlier, whisper is probably the same as narrate
and best practices involves using the denizen version of whatever feature you're trying to implement
world
playeffect [effect:<name>] [at:<location>|...] (data:<#.#>) (special_data:<data>) (visibility:<#.#>) (quantity:<#>) (offset:<#.#>,<#.#>,<#.#>) (targets:<player>|...) (velocity:<vector>)
Plays a visible or audible effect at the location.
Allows the playing of particle effects anywhere without the need of the source it comes from originally.
The particles you may use, can come from sources such as a potion effect or a portal/Enderman with their particles respectively.
Some particles have different data which may include different behavior depending on the data. Default data is 0
Specifying a visibility value changes the sight radius of the effect. For example if visibility is 15; Targeted players won't see it unless they are 15 b...
player
narrate [<text>] (targets:<player>|...) (format:<script>) (per_player) (from:<uuid>)
Shows some text to the player.
Prints some text into the target's chat area. If no target is specified it will default to the attached player or the console.
Accepts the 'format:<script>' argument, which will reformat the text according to the specified format script. See !language Format Script Containers.
Optionally use 'per_player' with a list of player targets, to have the tags in the text input be reparsed for each and every player.
So, for example, "- narrate 'hello <player.name>' targets:<server.online_players...
Ah okay thanks.
Thanks
and if you want, like, a special shape of particles or whatever, you can code a loop with math that draws whatever formula etc
That sounds great but may be past my current level with denizen lol. I have coding knowledge but I'm new to the denizen scene. If you have one of those handy links to it I'll take it tho.
!guide
View the Denizen Beginner's Guide at https://guide.denizenscript.com/
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@plucky shuttle