[Request] Scripting help
-
can somebody please tell how you get a script to return the name of an item that has been renamed using an anvil. appreciate it
-
For Example:
I rename a diamond sword with name "cookie" using item nametag
how would i make a script to return the value of the diamond sword name -
@hookie mc.thePlayer.getHeldItem().getDisplayName()
-
@czechhek doesn't work if he's holding another item
-
@notautismatall ofc, .getDisplayName() is the point
-
@czechhek
i apprecitate bro you're a big help, i don't know how code java, and i learned javascript basics a week ago this is quite useful thanks man.