by Roody_Yogurt » Tue Oct 09, 2012 12:28 pm
You want to use the number grammar token in your verb definition:
verb "pay"
* number DoPay
When DoPay is performed, the object global is set to the number entered.
Your second example command is harder to do, as it's generally impossible to support commands with no separator words between the object and xobject without some trickery, like:
verb "pay"
* "agent" number DoAgentPay
You want to use the number grammar token in your verb definition:
verb "pay"
* number DoPay
When DoPay is performed, the object global is set to the number entered.
Your second example command is harder to do, as it's generally impossible to support commands with no separator words between the object and xobject without some trickery, like:
verb "pay"
* "agent" number DoAgentPay