Alright. I'm playing Lusternia and I've been using mudlet for about a month or more and I like it a lot. Right now I'm trying to get into combat and want to make a targeting alias. I've gone over all the targeting help I could find on here and still nothing seems to work for me. This is what I currently have:
Code: Select all
"^x (.*)$
target = matches[2]
echo("target has been set to " .. matches[2])
send("point staff " .. target)
Every time I get it to save and try it out I put in x rat and I get all available exits. What am I doing wrong? Even then I can't seem to get it to allow me to attack at all. I've only been able to get things to somewhat work, by using the ingame targeting and alias system.