Date: 2013/12/29 17:49:43 UTC-08:00
Type: Denizen Script
RemoveSoulboundItems:
type: task
script:
- ^flag player tempinv:!
- ^foreach <player.inventory.list_contents.aslist> {
- ^if <%value%.lore> contains '<&5><&8><&1><&9><&5><&o>soulbound' ^flag player "soulbound:->:%value%]"
else ^flag player "tempinv:->:%value%"
}
- ^narrate "tempinvlist <player.flag[tempinv].aslist>"
- ^determine "DROPS <player.flag[tempinv].aslist>"