Solved Detect a change name in Anvil

  • 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 community!

    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.

Aralwen

Active Member
May 26, 2017
164
14
18
Hello guys,
I'm looking for how to detect the name change of a item with the addon TuSKe.
The problem is that it detects the name before the rename and so does not save the new name in the variable I want.

The problem comes from line 4, I have done several searches I have not found how to achieve a fix.

Thank's for help !

Skript Version: 2.2
Skript Author: ?
Minecraft Version: 1.8.8

---
Full Code:
https://hastebin.com/otixiboboq.sql


Errors on Reload : Nothing
Console Errors : Nothing

Other Useful Info:

Addons using (including versions):
TusKe

Troubleshooting:

Have you tried searching the docs? Yes
Have you tried searching the forums ? Yes
 
Last edited:
Hello guys,
I'm looking for how to detect the name change of a item with the addon TuSKe.
The problem is that it detects the name before the rename and so does not save the new name in the variable I want.

Actual skript : https://hastebin.com/otixiboboq.sql
The problem comes from line 4, I have done several searches I have not found how to achieve a fix.

Thank's for help !
try to add

wait a ticks ...
 
As the documentation states, event-string is the new name
 
You didn't even use event-string so how do you expect this to work

code_language.skript:
on anvil rename:
    send "%name of item%"

Don't work, this takes the name of the old name change.
ec34055853.gif
 
event-string is the new name, name of event-item is the old one.
 
Event-string has been mentioned by @Pikachu several days ago, and right now you're saying it works. Sounds like you are not reading comments carefully.
Sorry i have a bad english, i don't have understand :/
Thanks for help
 
Status
Not open for further replies.