Hello! I'm trying to make an alias for my shaman for swiftcurse. So far I have 2 triggers
Trigger1
Trigger line- You weave your fingers together, calling upon the swiftcurse to aid you.
Big box- SwiftCurse = true
Trigger2
Trigger line- The swiftcurse leaves you.
Bog Box- SwiftCurse = false
Alias
Name: Swiftcurse Bleed
Pattern=?? Not sure what to put here
Big box-
If SwiftCurse = true then
send("swiftcurse &tar bleed")
else
send("curse &tar bleed")
end
the alias is getting a syntax error. Lua syntax error:[string "function Alias266()..."]:2: '=' expected near 'SwiftCurse'
I'm not sure how to fix this. I basically want an alias that'll trigger when I use swiftcurse so I can use the same keybindings for normal Curses and Swiftcurses.
ex. "Curse &tar Bleed" and "Swiftcurse &tar Bleed" is the same keybind.
Comments
if SwiftCurse == true then
Do not DM on forums unless you're ok with waiting a couple months!
(likely disregard this, I thought the question was more involved than it is)
I also notice the 'I' in if is capitalized. If this wasn't a mistake, it needs to be lowercase. But yes,
if SwiftCurse == true then
also, you made an alias. Did you mean to? Or did you mean to make a keybind.
Your alias needs a command to go with it. That's what pattern is for.
So, for example, your pattern could be:
so, whenever you type swc and hit enter, it would swiftcurse whatever you have SETTARGET on, with your logic.
If you just want a keybind (which your post might suggest, although i do see you say you want an alias.), and not an aliased command, you could just put that if statement inside of a key.
but I will be handing that website out like candy, makes this easy for people to learn. Thanks!