How would I go about converting this zMUD script sample to MUSH?
#ALIAS moss {#math moss {%1 *40};#show @moss}
The way this particular line works is you enter the amount of moss you want to price and it does the math. So if you entered "moss 5" it would output "200" in the output window.
I plan on converting a zMUD calculator script to MUSH, and there are 34 lines just like this one that would need to be converted, plus a line that would total the 34 results and another that would clear all the inputs (resetting all the price totals back to 0).
Thanks for your help!
#ALIAS moss {#math moss {%1 *40};#show @moss}
The way this particular line works is you enter the amount of moss you want to price and it does the math. So if you entered "moss 5" it would output "200" in the output window.
I plan on converting a zMUD calculator script to MUSH, and there are 34 lines just like this one that would need to be converted, plus a line that would total the 34 results and another that would clear all the inputs (resetting all the price totals back to 0).
Thanks for your help!