#Dependency installation

1 messages · Page 1 of 1 (latest)

minor canopy
#

Hey guys I'm trying to get this snippet to work, but I'm not sure how to install the anvilgui dependency it mentions, can anyone help?

#skript-snippets message

orchid quiver
#

why can't you use vanilla skript anvils?

minor canopy
#

because they are buggy and i cant figure out how to get the user input

orchid quiver
minor canopy
#

yeah ive tried it, it just returns none

orchid quiver
#

send code send_code

minor canopy
#

1 sec

minor canopy
# orchid quiver send code <:send_code:688375650582790339>
function getText(player: player, prompt: text):
    set metadata value "gui" of {_player} to anvil inventory named {_prompt}
    set slot 0 of metadata value "gui" of {_player} to name tag named "&7"
    open metadata value "gui" of {_player} to {_player}

on inventory click:
    current inventory is metadata value "gui" of player
    event-inventory's type is anvil inventory
    cancel event
    event-inventory is metadata value "gui" of player
    index of event-slot is 2
    broadcast anvil text input of event-inventory ? "None"

orchid quiver
#

interesting
it should be working, i'll dig deeper

golden arrow
#

always and under any condition

minor canopy