Solved how to parsed as item

  • 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.
Jul 9, 2017
34
0
6
27
in command
how to parsed a text to a item??
parsed text is a raw name of item

like minecraft:stone / minecraft:dirt
question agian:
how to use
set {_item} to "minecraft:dirt" parsed as item??
:emoji_sweat_smile::emoji_sweat_smile:
 
code_language.skript:
set {_item} to "dirt" parsed as an item type
cant use raw name?????
like dirt is minecraft:dirt
upload_2018-11-1_21-31-40.png
 
code_language.skript:
replace every "minecraft:" in {_text} with ""
set {_item} to "%{_text}%" parsed as an item type
 
Status
Not open for further replies.