so i want to make a multiplier skript and i need to make it so if player has a item in their inventory the variable will be true, and if a player does not have the item then the variable will stay as false, and if you get the item and it turns true, the problem is when i always throw the item away or delete it from my inventory it will still stay true
here the code, pls someone help
on inventory open:
if event-inventory = {mul}:
if {multipickreq.%player%} = true:
if player's inventory doesent contain 1 stone:
set {multipickreq.%player%} to false
send "&cu got 0 stone :(" to player
if player's inventory contains 1 stone:
set {multipickreq.%player%} to true
send "&aYAY U GOT ATLEAST 1 STONE :D" to player