Solved How can i make this work?

  • 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.

Samwej

New Member
Sep 2, 2021
8
0
1
23
On join:
loop all items in the inventory of player:
if loop-value is a emerald block named "Info&Warps":
execute console command "/absolutely nothing"
else:
give player emerald block named "Info&Warps"
 
On join:
loop all items in the inventory of player:
if loop-value is a emerald block named "Info&Warps":
execute console command "/absolutely nothing"
else:
give player emerald block named "Info&Warps"

Next time use codeblocks. [C O D E] [/C O D E].
 
This would be the best solution I think:
Code:
on join:
    wait 1 tick
    set {_item} to emerald block named "&fInfo&Warps"
    if amount of {_item} in player's inventory is less than 1:
        give {_item} to player
 
Status
Not open for further replies.