It looks like you're new here. If you want to get involved, click one of these buttons!
echo("\nNow targeting " .. target .. "!")
but its not working and how do you target and use the drawslash command altogether?
any help would be appropriate.
I noticed that you don't have a space between the tt and (.+) matching group. Are you typing it with a space as you enter the alias on the command line?If you're not using a space, I recommend using one, anyway. Just make sure to adjust the regex in your pattern to reflect it.Also, I recommend defining target = nil in a script somewhere. I'm not sure, but I think that if you don't, the target variable is considered "local" to the alias, rather than being "globally" available to other functions as well (such as your attack alias).
yes I put a space like this ^tt (.+)$ but when I try to use tt rat, it doesn't do anything
@Eld tried the drawslash alias but its not working, only the targeting one
Patern: ^ds$ send("drawslash "..target) is all I did, and it isn't working.
I typed in tt rat and it showed me targeting rat but it doesn't when I type in ds rat, it doesn't tell me anything. maybe I should make a trigger?