#(ama) inventory
48 messages · Page 1 of 1 (latest)
(ama) inventory
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>
Help us help you by pasting your script to https://paste.denizenscript.com/New/Script and linking it back here.
Content of Denizen Script Paste #105408: Unnamed Denizen Script Paste... pasted 2023/01/15 04:43:25 UTC-08:00, Paste length: 635 characters across 23 lines, Content: skills_admin_gui_open_command: type: command
Yeah, so first of all, you shouldn't type raw objects.
!lang common mistakes - don't script raw
Did you mean to search for script event after vs on?
!guide common mistakes - raw object
Did you mean to search for common mistakes - don't type raw object notation?
View the guide page 'Common Mistakes - Don't Type Raw Object Notation' at: https://guide.denizenscript.com/guides/troubleshooting/common-mistakes.html#don-t-type-raw-object-notation
View the guide page 'Common Mistakes - Don't Trust Players' at: https://guide.denizenscript.com/guides/troubleshooting/common-mistakes.html#don-t-trust-players
The player doesn't have to input an argument to your command. So <context.args.first> can error out. You have to account for that.
To open the inventory for another player, you can use the global player arg.
!lang the player and npc
The "player:<player>" and "npc:<npc>" arguments are special meta-arguments that are available for all commands, but are only useful for some.
They are written like:
- give stick player:<server.flag[some_player]>
or: - sit npc:<entry[save].created_npc>
Denizen tracks a "linked player" and a "linked NPC" in queues and the commands within.
Many commands automatically operate on the linked player/NPC default or exclusively
(for example, "give" defaults to giving items to the linked player but that can be changed with the "to" argument,
"sit" exclusively makes the linked NPC sit, and that cannot be changed except by the global NPC argument).
When the player argument is used, it sets the linked player for the specific command it's on.
This is only useful for commands that default to operating ...
Script Command System
If you'd like to use it, you have to get the player object of the player you want the inventory to open for. See also the Don't Trust Players section for this.
yeah but i want to open the gui from my script. how can i replace in@skill_bergbau_admin_gui
still doesnt work
Help us help you by pasting your script to https://paste.denizenscript.com/New/Script and linking it back here.
Content of Denizen Script Paste #105409: Unnamed Denizen Script Paste... pasted 2023/01/15 05:14:10 UTC-08:00, Paste length: 704 characters across 25 lines, Content: skills_admin_gui_open_command: type: command
You just did one thing of what you were told.
thaks
Thread closed as resolved.
Thread is now a Help/Support thread. A helper will check your thread when available.
!haste
Help us help you by pasting your script to https://paste.denizenscript.com/New/Script and linking it back here.
Please paste the current version of script, and explain what exactly are you having trouble with currently so that we can help
Has your issue been resolved, or your question been answered?
If so, please type </resolved:1028673926114594866> to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@silk spindle