If you insist, Nick! I found a section on math in your FAQ, so this is basically a script you wrote. I haven't had a chance to test this yet...
<triggers>
<trigger
enabled="y"
match="If * cows jumped into Runaway River and * drowned, how many cows would be left?"
send_to="12"
sequence="100"
>
<send>
x = tonumber (GetVariable ("x")) or 0
x = %1-%2 <---It could be %1*%2, or %1/%2, whatever you need.
SetVariable ("x", x)
say ", </send>
</trigger>
</triggers>
You had PRINT () where I simply have 'say ",', I assume that since I'm under <send> it will 'send' a say to the mud, but I don't know if it works that way. I supose I could have a second trigger that is enabled by this one. That will then SEND (say "variable") to the world.
Also, I'm guessing send_to="12" is like checking 'send to script' in Mush.
Appreciate your video/guide on scripting in Mushclient, and FAQ. Very helpful stuff. Any other LUA for the ignorant resources anyone is aware of?