#Force closing the chat window after entering a custom command to allow a form to open.

1 messages · Page 1 of 1 (latest)

wanton plume
#

Are there any good ways to do this?

finite spear
#

summon a snowball at the players location

brisk valley
#

You can stop the damage sound by using stopsound ${player} sound.name

wanton plume
#

Thank you. Does the snowball need velocity to do the trick?

brisk valley
#

I think so, not sure

#

I just use the damage command

wanton plume
#

I just tested both ways. The snowball works; no velocity required.

The damage command doesn't seem to close the window though. Maybe they changed that.

#

In any case, I've got something that works, so I appreciate the help. 🙂

finite spear
#

damage command is useless

#

for this

restive drift
#

how do you do it?

#

summoning a snowball doesnt work for me

wanton plume
restive drift
#

it doesnt close the chat for me

wanton plume
#

You can do without the "as @a" and "~~~" if you're running from the player

wanton plume
restive drift
#

im not that stupid

#

im in survival

wanton plume
#

Hehe. I made that mistake the other day not thinking about it

restive drift
#

im in survival and it dont work

wanton plume
#

Is the code short enough to post?

restive drift
#

i have nitro so i am able to

wanton plume
#

This works for 1.19.80

restive drift
#

i want it so after the player types !secretmenu it closes the chat and opens the menu

wanton plume
#

Gtg for a bit, but I'll give a look a little later unless someone beats me to it.

restive drift
#

the code works

#

it just doesnt close the chat

finite spear
restive drift
#

i think it is

#

it is