ah, then you need text manipulation, on player swap hands event, place a If Variable: Item Equals, in the 1st slot put a Game Value: Main Hand Item and in the 2nd one put a book and quill and change the if variable tag to material only. Now between the pistons place a Game Action: Cancel Event and after it, place a Set Variable: Get Book Text, in the first slot put a variable (preferably local) and in the second one put the same game value as before, now place a Set Variable: Split Text, in the first and the second slot put the same variable as before and that should give you a list that has each word split. You can now either name a text %index(same variable, 1) to get the command and %index(same variable, 2) to get the argument OR use Set Variable: Get Value At Index to get the value at the first or the second tho i recommend the %index one as it's more compact