#Clearing inventory without deleting playerdata

1 messages · Page 1 of 1 (latest)

raven moth
#
    if {inventoryclearer::%player's uuid%} is none:
        make console execute "clear %player%"
        set {inventoryclearer::%player's uuid%} to 1```

The point of this is when a person who joins their inventory gets cleared and then the inventoryclearer variable is set to 1 so when they rejoin it doesn't get cleared.

But this really simple code doesn't work. There are no errors but I believe the `is none` part of the code is where it goes wrong. But I can't really seem to figure out any way to fix it
sudden delta
#
  1. are you tryna do this for first join or you prefer this way
raven moth
raven moth
sudden delta
#

instead of is none

raven moth