Anvil Editor

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Step 1. open an anvil to the player when they click the item in the gui
Step 2. look here for the anvil events/expressions you need
Step 3. if youre too lazy to figure out how to do that ^ post this in requests
 
@XanderWander You can do it.

Use skellett for:
  • Take all the informations that you need in the anvil menu
code_language.skript:
on anvil prepare:
    #Event itemstack's string name

    broadcast "%event-string%"
    #the result slot item

    broadcast "%event-item%"
    #The repair cost (Use the expression if you want to set it)

    broadcast "%event-number%"
    #The anvil inventory to be used in the anvil cost expression below

    broadcast "%event-anvilinventory%"
    broadcast "%anvil repair cost of the anvil's inventory%"
Use tuske for:
  • Make slot things to set items into the anvil menu / open a virtual anvil
code_language.skript:
open virtual %inventory type% inventory [with size %integer%] [(named|with (name|title)) %string%] to %players%

(format|create|make) [a] gui slot %integers% of %players% with %item stack% [to [do] nothing]
(format|create|make) [a] gui slot %integers% of %players% with %item stack% to close [(using|with) %click action% [(button|click|action)]]
(format|create|make) [a] gui slot %integers% of %players% with %item stack% to [close then] (run|exe[cute]) %command sender% command %string% [with permission %string%][[(,| and)] (using|with) %click action% [(button|click|action)]][[(,| and)] (using|with) cursor [item] %item stack%]
(format|create|make) [a] gui slot %integers% of %players% with %item stack% to [close then] (run|exe[cute]) function %function%[[(,| and)] (using|with) %click action% [(button|click|action)]][[(,| and)] (using|with) cursor [item] %item stack%]
(format|create|make) [a] gui slot %integers% of %players% with %item stack% to (run|exe[cute]) [gui [click]] event

And just work around with "on inventory click".
 
Status
Not open for further replies.