// responding to question of how many they want, with a number
npc.addMatching(ConversationStates.QUEST_ITEM_QUESTION,
// match for all numbers as trigger expression
ExpressionType.NUMERAL, new JokerExprMatcher(),
new TextHasNumberCondition(1, 5000),
ConversationStates.ATTENDING, null,
new ChatAction() {
public void fire(final Player player, final Sentence sentence, final EventRaiser npc) {
final int required = (sentence.getNumeral().getAmount());