#(tanner) Help with clickable chat triggers

25 messages · Page 1 of 1 (latest)

rotund stumpBOT
#

(tanner) Help with clickable chat triggers

#

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>

neon jungle
#

!tag click_chat

zinc jasperBOT
# neon jungle !tag click_chat

Adds a click command to the element, which makes the element pseudo-chat the input message when clicked, for activating interact script chat triggers (!language Chat Triggers).
This internally uses the command "/denizenclickable chat SOME MESSAGE HERE" (requires players have permission "denizen.clickable")
Note that this is a magic Denizen tool - refer to !language Denizen Text Formatting.

Group

text manipulation

Returns

ElementTag

Examples
- narrate "You can <element[click here].click_chat[hello]> to say hello to an NPC's interact script!"
neon jungle
#

mmm

covert tree
#

oh wait nevermind

#

how do u reset the script back to step 1

#

i put in a "zap 2" under the first step and then said the trigger in chat

#

does this mean it worked properly?

[10:44:56 INFO]: +> [InteractScri...] Interact script is INFO_MAN_INTERACT. Current step for this script is: 2 
[10:44:56 INFO]: +---------------------+ 
[10:44:56 INFO]: +> Executing 'CHAT': Player='TannerKX'  NPC='n@294'  Radius(Max)='0.7403712762130967(3.0)'  Trigger text='info_promppt'  LOS='true'  Facing='true'   
[10:44:56 INFO]: [no-faction] [Owner] TannerKX: info_promppt
[10:44:57 INFO]: [no-faction] [Owner] TannerKX: info_prompt
[10:45:14 INFO]: TannerKX issued server command: /denizen reload scripts
[10:45:14 INFO]: +> [ScriptRegistry] Loading 1 script files... 
[10:45:14 INFO]: +> [ScriptEvent] Processed 0 script event paths. 
[10:45:14 INFO]: +> [DenizenCore] Scripts reloaded. 
[10:45:19 INFO]: [no-faction] [CEO] IlyCrit: how i do
[10:45:26 INFO]: ***mystique [Superior] Just_Mythical: 13 trust```
#

even after reloading it just keep saying this in console and not the original msg:

[10:48:27 INFO]: +> [InteractScri...] Interact script is INFO_MAN_INTERACT. Current step for this script is: 2 
[10:48:27 INFO]: +---------------------+ ```
gilded kelp
#

you need to zap back to step 1

#

it doesn't reset on script reload intentionally

#

generally you can just select the npc and use /ex zap 1 to go back

#

but your script should do it for you so you don't get stuck

covert tree
#

ahh okay that worked thanks

#

i'm guessing this means it fired though right? +> Executing 'CHAT': Player='TannerKX' NPC='n@294' Radius(Max)='0.7403712762130967(3.0)' Trigger text='info_promppt' LOS='true' Facing='true'

#

so it's just that it's not displayinig the message properly or my format is fucked

gilded mesaBOT
#

@covert tree

Thread Close Blocked

Thread was closed either automatically by timeout or by the Discord manual close button. If closing was intentional, please use </resolved:1028673926114594866> or </invalid:1028673926898909185>.