I'm looking for something like The last question I asked accept it used numbers and only needed to be "heal *" but
this one is "^de( .*){0,1}$" and I can't make lua use
if %1 then <do something> else <do something else> end
or
The following is what I am using the if statement for.
this one is "^de( .*){0,1}$" and I can't make lua use
if %1 then <do something> else <do something else> end
if %1 then
--do extra stuff
else
--do repetitive stuff
end
or
if !%1 then
--do repetitive stuff
else
--do extra stuff
end
The following is what I am using the if statement for.
Alias:^de( .*){0,1}$
Send("cast '@castingspell'")
--I don't want this to happen if I type de by itself
--I don't want this to happen if I type de by itself
Send("cast '@castingspell' %1")
SetVariable("target", "%1")
ColourNote("#0000ff", "#FFFFFF", string.format("Target set as: %s", GetVariable("target")))
--I don't want this to happen if I type de by itself
--I don't want this to happen if I type de by itself