#(Krilliant) while right click button held event

11 messages · Page 1 of 1 (latest)

naive prism
#

is that possible? like an actual loop as an event? everything in the event's script would run every 1 tick (or more if there's any waitings inside)

inland coralBOT
#

(Krilliant) while right click button held event

inland coralBOT
#

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.

rancid hatchBOT
# shadow arrow !e clicked
Required Plugins or Platforms

dDiscordBot

Group

Discord

Event Lines

discord button clicked

Switches

for:<bot> to only process the event for a specified Discord bot.
channel:<channel_id> to only process the event when it occurs in a specified Discord channel.
group:<group_id> to only process the event for a specified Discord group.
id:<button_id> to only process the event for a specified Discord button.

Triggers

when a Discord user clicks a button.

Context

<context.bot> returns the relevant DiscordBotTag.
<context.channel> returns the DiscordChannelTag.
<context.group> returns the DiscordGroupTag.
<context.interaction> returns the DiscordInteractionTag.
<context.button> returns the DiscordButtonTag.
<context.message> returns the relevant message the button was on.

shadow arrow
#

Er,

#

!clientevent clicked

rancid hatchBOT
# shadow arrow !clientevent clicked
Group

input

Event Lines

<input_device> key pressed|released|toggled

Switches

name:<key> to only process the event if the pressed key's name matches the specified matcher.

Triggers

when a keyboard/mouse key is pressed.

Context

<context.key> returns an ElementTag of the pressed key's name.
<context.device> returns an ElementTag of the device used, will be either KEYBOARD or MOUSE.
<context.key_code> returns an ElementTag(Number) of the pressed key's raw key code.

Examples
# Will send the server an event when the 'K' key is pressed
on keyboard key pressed name:k:
- serverevent id:activate_ability
# Will listen to all presses on the keypad
on keyboard key pressed name:KEYPAD_*:
- narrate "You pressed the <context.key> key on your keypad!"
shadow arrow
#

That can listen to mouse clicks

naive prism
#

hell yeah, nice