+hasitem
eventmanual page 39
+hasitem <player> "item name"
Arguments
| Argument | Type | Required | References |
|---|---|---|---|
| player | int | yes | player |
| item name | str | yes | item |
Takes 2 arguments.
What it does
True if player has this kind of magic item somewhere in the world. Also sets target unit to wielder (player -1 = any player)
— modding manual, page 39 (as an event command)