Alright, I'm trying to create a simple trigger that will take away a given defense when the person who puts it up is the person I am targeting. The trigger fires, however, the secondary clause doesn't seem to want to evaluate itself. Therefore, I have come here--again--to see what rookie mistake I have made. Here is the code:
I tried to change the "elseif" to just "else" but all it would return is:
Any suggestions?
if %1 == @tar then
ColourNote ("red", "black", "<<<SHIELDED-RAZE-SHIELDED>>>")
DoAfter (3, "raze @tar")
elseif %1 ~= @tar then
ColourNote ("blue", "black", "<<<IS THERE DANGER?>>>")
end--if
I tried to change the "elseif" to just "else" but all it would return is:
Compile error
World: Lusternia
Immediate execution
[string "Trigger: "]:4: '=' expected near '~='
Any suggestions?