When i call it all i get on the screen is "Looking for items."
What are you referring to by "call it"? If the "When I say" field of your command is set to "Looking for [1..50] items", the recognized phrase would have to contain a number.
So how do turn that into a variable so I can write that in my string?
What do you mean by "write that in my string"?
In most cases, tokens can be used directly, unless you very specifically need a variable.
Given that you're using dynamic command sections, you can get just the number using the "{CMDSEGMENT:}" token, E.G.
Quick Input, '{CMDSEGMENT:1}'
If you were to use the "{TXTNUM:}" token instead, to remove everything from the recognized phrase except the number, that could look like this:
Quick Input, '{TXTNUM:"{CMD}"}'