#(JustinS) Click on message chat and do stuff (chat click triggers)

12 messages · Page 1 of 1 (latest)

slow thicket
#

Im trying to send the player a message where they can then click on one, and it runs 1 or 2 lines of code. Im not doing anything with npcs here. Every single one of the events Ive found were somehow linked exclusively to npcs. I've been looking all over for a while now

past nightBOT
#

(JustinS) Click on message chat and do stuff (chat click triggers)

past nightBOT
#

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.

hazy aspen
#

!command clickable

glad idolBOT
# hazy aspen !command clickable
Group

player

Syntax

clickable (<script>/cancel:<id>) (def:<element>|.../defmap:<map>/def.<name>:<value>) (usages:<#>) (for:<player>|...) (until:<duration>)

Short Description

Generates a clickable command for players.

Description

Generates a clickable command for players.

Generally, prefer to write a command script and simply "on_click[/yourcommandhere]" rather than using generated clickables.
Generated clickables are a utility intended to enable clickables that are restricted from being normally accessed without receiving a clickable message.

Specify a task script to run, or put an executable script section as sub-commands.

When running a task, optionally any definitions to pass.

When using a sub-section, the runnin...

hazy aspen
#

maybe change to this?

slow thicket
#

hmm that seems good

#

Ill have a look, thanks!

#

wonder why I didnt find that

remote craterBOT
#
Thread Closing Reminder

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.)

#

@slow thicket