Contains (Condition) — Skript

Addon: Skript · Category: Condition · Since: 1.0

Syntax

%inventories% (has|have) %items% [in [(the[ir]|his|her|its)] inventory]

Description

Checks whether an inventory contains an item, a text contains another piece of text, or a list (e.g. {list variable::*} or 'drops') contains another object.

Examples

whether player has 4 flint and 2 iron ingot

View source