This is for Lusternia. I'm trying to make an auto-basher, or really a semi-auto-basher. I've made one in cMud before but don't really know how to go about making one here. As I play a monk I have to track various variables for the loss of balance on each arm and leg, as well as regaining that balance, and retaining the balance if there was no target. I also want it to track if the mob is shielded, and switch to a raze form if it does. I have the following set to fire off my prompt, though it returns an error saying that 'then' is exepected near '='. As you can probably tell from looking at this, I have no real idea what I'm doing.
if system.RAB = true and system.LAB = true and system.LLB = true and system.RLB = true and system.unshielded = true and system.autobash = true
then send("kata perform " .. target .. " pvm1")
end
if system.RAB = true and system.LAB = true and system.LLB = true and system.RLB = true and system.unshielded = false and system.autobash = true
then send("kata perform " .. target .. " razehunt")
end
each of those system.(whatever) are set by triggers. Or I assume they are, since I simply have a trigger firing off of each line with system.(whatever) = true or false depending on the trigger.
Like I said, no real idea what I'm doing. Just trying to learn how to do all this, and any help in doing so would be appreciated.
This is my first attempt at creating something moderately complex in Mudlet, as all the other things I have created have been basic targeting triggers and echos for shields and the like, and it's mostly a learning experience. Problem is I think I'm just bungling everything without really learning anything.