I'm trying to do as much of this as possible myself, but I seem to be running into a couple of... interesting problems.
The project I'm working involves three phases, the first being collecting a mass amount of data from the Mud, and storing it for the other two phases (which, luckily, don't need to last beyond the current mudding session). The second phase, performing mathematical operations with the data, will involve accessing the data in the first phase, doing some basic math, and spewing out a new set of numbers. Then, comparing that new set of numbers, a choice is made by the script (Or rather, it chooses the final value that is the largest integer, and sets two other variables based on that choice), and Phase 3 is a series of actions that depend on the choice made by the script.
Sounds complicated. To me at least. But I'm hoping I can at least do most of it on my own.
However - I've already encountered a problem. One I'm not sure if its based on the version of Lua and MUSHClient I have, or what...
Reading the tips and introduction to scripts threat, it mentioned the following:
I can't seem to get that to work on my client. I'm using
My Client is version 3.65, and I'm not sure how to check my Lua version, but I don't think that is the cause of the trigger not firing...
Thank you for your help!
The project I'm working involves three phases, the first being collecting a mass amount of data from the Mud, and storing it for the other two phases (which, luckily, don't need to last beyond the current mudding session). The second phase, performing mathematical operations with the data, will involve accessing the data in the first phase, doing some basic math, and spewing out a new set of numbers. Then, comparing that new set of numbers, a choice is made by the script (Or rather, it chooses the final value that is the largest integer, and sets two other variables based on that choice), and Phase 3 is a series of actions that depend on the choice made by the script.
Sounds complicated. To me at least. But I'm hoping I can at least do most of it on my own.
However - I've already encountered a problem. One I'm not sure if its based on the version of Lua and MUSHClient I have, or what...
Reading the tips and introduction to scripts threat, it mentioned the following:
(?P<name>\d+)I can't seem to get that to work on my client. I'm using
(?P<name>.*) at present - but its storing them as literal text rather then the numerical value I need in order to perform the math later on. When I change it to the above, the trigger simply doesn't fire. At all. (The numbers in question are decimals, such as 8.21, ranging from 0.00 to 9.99 (it may be possible for the number to enter double digets, such as 15.5, but I've never seen it as I recall at present).My Client is version 3.65, and I'm not sure how to check my Lua version, but I don't think that is the cause of the trigger not firing...
Thank you for your help!