alias / trigger help

Post Reply
xephon99
Posts: 3
Joined: Thu Jul 09, 2020 4:58 am

alias / trigger help

Post by xephon99 »

I want to automate some spell casting.

for the alias when I type ench boots , I want to cast 1 spell, wait 5 seconds and cast a second spell. I tried the following but it only does the first part.

Pattern ^ench (\w+)$

send("ll " .. matches[2])
tempTimer(3, function()
send ("cb " .. matches[2])
end)

I also want a trigger that does the same thing, someone can say enchant boots - and the same thing occurs. I tried the following but again only the first Send action occurs.

pattern = enchant (\w+)$

send("ll " .. matches[2])
tempTimer(3, function()
send ("cb " .. matches[2])
end)

I have other triggers that trigger off of exact match instead of perl regex and they will send multiple lines with timers all day long. Not sure what I am missing. Can anyone help?

Post Reply