GithubHelp home page GithubHelp logo

Comments (3)

melinstagibson avatar melinstagibson commented on June 23, 2024

Edit:
the arg-1 isn't carried over to the run when close part of the skript it seems, doing this:

command /editkit <string>:
        permission: mel.createkit
        trigger:
                set {arg-1} to arg-1
                if gui "%arg-1%" is set:
                        open gui "%arg-1%" to player
                else:
                        create gui "%arg-1%" with virtual chest named "&2Edit Kit ""&a&l%arg-1%&2""":
                                run when close the gui:
                                        set {kit::%{arg-1}%::*} to all items of gui-inventory
                        open last created gui to player

works as workaround
(i set a variable {arg-1} to arg-1 and used that instead)

from tuske.

Blueyescat avatar Blueyescat commented on June 23, 2024

Already you have to do that with the current system. You should read the wiki πŸ™‚

https://github.com/Tuke-Nuke/TuSKe/wiki/GUI-Manager#things-you-need-to-know
image

So you should close the issue.

from tuske.

melinstagibson avatar melinstagibson commented on June 23, 2024

Weird, last time i tried it didnt work with temporary variables either but ill try again, thanks.

from tuske.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.