Im not sure im doing it wrong or its just not working. It doesn't remove the book from my inventory, and i have no idea why
code_language.skript:
command /testp:
trigger:
add 1 written book named "asd" to player's inventory
wait 1 second
remove all written book named "asd" from player's inventory